Skip to content
Advertisement

Using selenium to click a button

For clicking a button with the following HTML code:

JavaScript

I have tried multiple ways to click/ access this button but to no success, for example:

JavaScript

I am not really sure what the issue is here – for all other button presses on this webpage – selenium has been working appropriately. What other ways can I try?

Advertisement

Answer

JavaScript

escape the single quotes

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement