What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-09 14:45:13
selenium finding elements
from selenium import webdriver chrome_driver_path = 'C:\Development\chromedriver.exe' driver = webdriver.Chrome(executable_path=chrome_driver_path) driver.get('https://www.python.org') name = driver.find_element_by_name('q') print(name.get_attribute('p... Add solution -
Python 2022-01-24 21:35:27
find elements in selenium
from selenium import webdriver chrome_driver_path = 'C:\Development\chromedriver.exe' driver = webdriver.Chrome(executable_path=chrome_driver_path) driver.get('https://www.python.org') name = driver.find_element_by_name('q') print(name.get_attribute('p... Add solution -
Other 2021-11-06 05:16:16
instagram login with selenium py
driver.find_element_by_xpath("//input[@name='username']").send_keys(username) driver.find_element_by_xpath("//input[@name='password']").send_keys(password) driver.find_element_by_xpath("//button[contains(.,'Log in')]").click() Add solution -
Python 2021-11-02 10:59:06
python selenium dropdown without select
# Just found a very simple solution for this annoying problem # Been looking around for days just to solve it, Selecting dropdowns without Select class # Find your dropdown element by the following, finds the element in the dropdown named BRA Dropdown_El... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5