How can I edit an element in a browser that I opened with Python 2.7 Selenium. Let's say I have this element:
<span id="some-random-number">100</span>
I know that you can find the text with:
driver.find_element_by_id("some-random-number").text
but I want the text of the element change to let say 200 so:
<span id="some-random-number">200</span>
How can I do it? Also except from text can I also edit element's attribute like for example this:
<div class="something" style="transition: transform 1000ms bla bla bla"></div>
Can my script read the attribute and edit the 1000 ms into different value?