this post was submitted on 24 Aug 2023
0 points (50.0% liked)
Selenium Web Browser Automation
100 readers
4 users here now
Users forum for selenium browser testing. Do not advertise here.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You got selenium questions? I got answers!
What is the best way to learn Selenium, mainly the commands or syntax? Are there any practice sites like how there are for learning coding/programming?
There are plenty of tutorials on YouTube. I would recommend playing around with Selenium IDE and/or Katalon Recorder. These are browser plugins that you can install and are step recorders. You can later export the script you've recorded into a script from either of these plugins.
Unfortunately Selenium IDE is not the best way to practice selenium, according to most of the Youtube tutorials, since one is a scripting generator (from the UI recording) and the other is actually programming scripts (or lines of codes); which can be executed from terminals.
Additonally youtube tutorials are informative, but are passive learning since there aren't any applied practicals. Looking for recommendation of practicing selenium webdriver with a premade sandbox like websites that has sandbox for learning programming(e.g. Sololearn, W3schools, fcc, etc.).
I have read and discovered that WebDriver does not support HTTP Basic Authentication (i.e. it does not support supplying the username and password to the dialog presented by the web browser). Is there a way to compensate for this? I have a few web sites that utilize this but I cannot fully automate scripts for this site. I have to manually log in and then run the script which is not very autonomous...
You should be able to just submit the login and password directly in the url (https://username:password@URL) with HTTP basic authentication and have it work that way. And man they really killed this community by moving away from reddit. A total neckbeard self own by the mods.