Learn how you can log in to any website using Selenium and Python 3.10. For this example we will be logging into LinkedIn. Previous lesson: • How to install Seleniu...
I had to make an appointment with my doctor but I wasn't getting any empty time for the appointment, I wrote a code for it, that enters the hospital web page with my pieces of information fills in the data, and checks the boxes by clicking the login button. Then select the correct department with the correct doctor and make an appointment Etically I know it is wrong but I am not selling this code nor using it to my advantage, I need this appointment
Did you import the Chrome driver first? Make sure you have the latest version of selenium. If you do not have Chatgpt then get it and ask it these questions. It helped me immensely and it is super patient!
Question: in the login function, the 3rd line of arguments does not have anything for "text". Therefore I get this: TypeError: Browser.add_input() missing 1 required positional argument: 'text'
He goes through this at 05:02 self.click_button(by=By.ID, value='login-submit') If it fails, you'll get a error in the run log, if it passes you'll see so on the browser window that the script opened before clicking.
I have a question about this ... what if I make logout from this page can I make the code keep working and detect login page and refill email and password automatically