Everyone,
I would like to browse the following website by using Selenium.
https://www.kintips.com/tc/kintips-app.html
(please select "ENG" if you can only read English.)
Here is what I wanted to do:
- Open the website with Edge.
- Click the "User Login" button.
- Enter ID and password.
- Click "Login".
I was stuck at Step 2. I tried many strategies like find_element_by_class_name and find_element_by_css_selector. But all the responses were "no such element: Unable to locate element".
How do I locate the element for "User Login" button? Please help. Thank you.
from selenium import webdriver
browser = webdriver.Edge()
#step 1
browser.get('https://kintips.com/tc/kintips-app.html')
#step 2, click a button
current = browser.find_elements_by_class_name('button-inner')