this post was submitted on 24 Aug 2023
0 points (50.0% liked)

Selenium Web Browser Automation

101 readers
4 users here now

Users forum for selenium browser testing. Do not advertise here.

founded 2 years ago
MODERATORS
 

Anyone?

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (2 children)

You got selenium questions? I got answers!

[–] LemmyStartNow 2 points 1 year ago (1 children)

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?

[–] vasaglegleblu 2 points 1 year ago (1 children)

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.

[–] LemmyStartNow 1 points 1 year ago

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.).

[–] vasaglegleblu 1 points 1 year ago (1 children)

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...

[–] seleniumstudent 1 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] 1 points 8 months ago