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,333
  • 16
  • 71
  • 144

0 Answers0