0

I have tried this:

@browser.execute_script("arguments[0].click();", button_element)

I took help from here:

but it is giving error:

   Selenium::WebDriver::Error::UnknownError:
       unknown error: arguments[0].click is not a function
Community
  • 1
  • 1
paul
  • 4,087
  • 14
  • 62
  • 127

0 Answers0