selenium
selenium copied to clipboard
Select Is support?
this go API has some interface like python below:
from selenium import webdriverd
from selenium.webdriver.support.ui import Select
driver = webdriver.Chrome()
driver.get('http://sahitest.com/demo/selectTest.htm')
s1 = Select(driver.find_element_by_id('s1Id'))
s1.select_by_index(1)
s1.select_by_value("o2")
s1.select_by_visible_text("o3")
thx
I'd want to see what the Go API would look like for this first. There's no reason why that functionality can't go into another package, though.
For my future reference: https://selenium-python.readthedocs.io/navigating.html#filling-in-forms
I actually have a Select functionality code that was identically copied from Selenium's Java code (obviously written in Go using the error handling that we all love/hate). I would like to contribute it to this project