1

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

3
  • Which programming language are you using Commented Mar 7, 2021 at 10:44
  • java or python is ok for me Commented 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()") Commented Mar 7, 2021 at 12:09

1 Answer 1

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 .

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.