Selenium Python Tutorial - javascriptExecutor

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

driver.ExecuteScript ("main.doTheClick('btnAdd')")

What to do if the method has a parameter like the above?

salmansabir
Автор

Suppose I have a Javascript with 1000 lines, so it's obvious that I can't paste the whole thing within driver.execute_script, so would you please guide me as to how I can include this within driver.execute_script within python 😄

Chris-yxgn
visit shbcf.ru