I want to call MapITRFtoWgs84() function multiple times, actually giving input from a text file and write the output to the another text file? I think Selenium is appropirate tool for my goal. How can I do that? Here is the photo of the calling function from chrome console: ss of chrome console
-
Which programming language are you usingPDHide– PDHide2021年03月07日 10:44:57 +00:00Commented Mar 7, 2021 at 10:44
-
java or python is ok for meofsisman– ofsisman2021年03月07日 12:03:41 +00:00Commented Mar 7, 2021 at 12:03
-
what happens if you do driver.execute_script("MapITRFtoWgs84()") or driver.execute_script("$.MapITRFtoWgs84()") or driver.execute_script("document.MapITRFtoWgs84()")PDHide– PDHide2021年03月07日 12:09:59 +00:00Commented Mar 7, 2021 at 12:09
1 Answer 1
driver.execute_script("MapITRFtoWgs84()") or
driver.execute_script("$.MapITRFtoWgs84()") or
driver.execute_script("document.MapITRFtoWgs84()")
Try any of the above methods , it depends on whether jquery is exported in the page . Else you will get $ not defined error .
answered Mar 7, 2021 at 15:32
PDHide
20.1k2 gold badges43 silver badges57 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
Explore related questions
See similar questions with these tags.
lang-js