0

I have recently been doing work Selenium for GPS data processing. Recently, the site I use to process data has changed quite dramatically and my old code no longer functions correctly. Below is a snippet of the new HTML that I need to edit. Is there any way to change the 'title' attribute from 'NONE' to something like 'TRM55971.00 NONE' (the actual antenna my GPS data was collected with) within the class? Thanks for the help in advance!

If you are interested here is link: https://www.ngs.noaa.gov/OPUS/

<span class="select2-selection__rendered" id="select2-ant_type-container" title="NONE">NONE</span>

1 Answer 1

1

To change the 'title' attribute from 'NONE' to 'TRM55971.00 NONE' you can use the following code block :

driver.execute_script("document.getElementById('select2-ant_type-container').title='TRM55971.00 NONE';");
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.