is there any alternative to send_keys() for input text field in python-selenium? -
i want send data text field in html page using selenium python .is there method other send_keys() using python-selenium?
assuming windows, can try using pywinauto uses microsoft's uiautomation , has access sending keys windows , dialogs, e.g.
driver = webdriver.firefox() elem = driver.find_element_by_name('j_username') elem.clear() app = application.application() app.window_(title_re='*.firefox.*').typekeys('username')
Comments
Post a Comment