tebeka / selenium

Selenium/Webdriver client for Go
MIT License
2.51k stars 410 forks source link

Help with javascript execution example #321

Closed felipelyp closed 8 months ago

felipelyp commented 8 months ago

Could someone show me how to run a script, I tried this way below and I couldn't

image

Error:

image

1 -How do I execute javascript correctly?

2 - How do I pass an element through ExecuteScript?

felipelyp commented 8 months ago

Sorted out!! My mistake, sorry lol