Selenium 4 Beginner Tutorial 1 | Introduction, Setup & Browser Actions | Step by Step

Selenium 4 Beginner Tutorial 1 | Introduction, Setup & Browser Actions | Step by Step

Automation Step by Step

2 года назад

136,903 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@RaghavPal
@RaghavPal - 19.10.2021 16:21

What’s New in Selenium 4
* Selenium is now W3C compliant

* Relative Locators

* Better Window/Tab Management

* Improved Selenium Grid

* Upgraded Selenium IDE

* New APIs for CDP (Chrome DevTools Protocol)

* Deprecation of Desired Capabilities

* Modifications in the Actions Class

Ответить
@user-si7hv8bm5b
@user-si7hv8bm5b - 02.12.2023 13:49

Great video Raghav! Another Gem. My confidence is high again- exactly the review I needed. You are a 🤖 (Machine).

Ответить
@syedarmaghanhassan4652
@syedarmaghanhassan4652 - 01.10.2023 21:58

I went till lecture 2 end, and everything was working. Just came back to practice. created a new class.. and just very simple code. But getting following error:

Error: Could not find or load main class NewPackageForPractice.newOKT
Caused by: java.lang.ClassNotFoundException: NewPackageForPractice.newOKT

Any idea why?

Ответить
@sarashaikh6729
@sarashaikh6729 - 28.09.2023 11:24

Hi Raghav , facing difficulties in suggestion , please suggest needful

Ответить
@syedarmaghanhassan4652
@syedarmaghanhassan4652 - 21.09.2023 10:25

Thanks Raghav, lovely content.
Where does this term WebDriver comes in line
WebDriver Driver = new ChromeDriver();

Is it a key Term, like when we are declaring a variable or something?

Ответить
@Varun-A
@Varun-A - 13.09.2023 08:17

Your tech teaching style is really effective. I'm learning so much

Ответить
@shitaltakle6179
@shitaltakle6179 - 12.09.2023 10:51

Thanks for the videos :)

11. Screenshots

Take screenshot
File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
FileUtils.copyFile(scrFile, new File("./image.png"));

this is not working

File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
FileHandler.copy(scrFile, new File ("./image.jpg"));

this does.

Ответить
@dikshatiwari8062
@dikshatiwari8062 - 17.07.2023 09:42

after saving maven dependencies not showing can u help me

Ответить
@younesdahbi4601
@younesdahbi4601 - 16.07.2023 01:15

Thank you for this great work

Ответить
@mybook2837
@mybook2837 - 07.07.2023 09:21

Sir not getting option to import
When hover on
Webdriver driver =new Chrome Driver();
Path is also set for chrome driver however

Ответить
@padmayadav4820
@padmayadav4820 - 02.07.2023 08:16

Thanks a lot. Very good explanation.

Ответить
@vanajachowdary3998
@vanajachowdary3998 - 20.06.2023 21:13

Google chrome cannot read write data to its data directory - im getting this error pls help to resolve

Ответить
@selmiravdic4798
@selmiravdic4798 - 04.06.2023 23:10

Hello, I know this video came out about a year ago but I was getting this error message that states that Eclipse did not have authorization to do things to open the web browser properly and close it. After a quick search, I found out that after Chrome v102 security permissions were implemented that prevent these other programs from just opening Chrome. Turns out you need to add:

ChromeOptions options = new ChromeOptions();
options.addArguments("--remote-allow-origins=*");

WebDriver driver = new ChromeDriver(options);

To make the webpage open and close properly. I still get warnings though but hey, it works.

Ответить
@AdnancyclewalaCE
@AdnancyclewalaCE - 27.05.2023 11:59

Hi sir , i am not getting import WebDriver option on hovering, other options like create class are coming but not import one, pls help

Ответить
@deepthivenkatesh1573
@deepthivenkatesh1573 - 16.05.2023 04:20

Hello,
I am getting error "Cannot invoke "Object.toString()" because the return value of "java.util.Map.get(Object)" is null" before opening the google browser ? Any suggesstions how to fix this ??

Ответить
@prakharjain7767
@prakharjain7767 - 30.04.2023 11:17

Is this a complete Selenium course?

Ответить
@blankbox33
@blankbox33 - 21.03.2023 12:29

Which jdk version is compatible with selenium 4? please reply soon. Thank you

Ответить
@vengalaraoVosa
@vengalaraoVosa - 26.02.2023 07:54

its asome

Ответить
@pindisriram8750
@pindisriram8750 - 23.02.2023 20:00

Hi raghu..this is normal java application or spring boot application? if it is a springboot application why u create main method in test class?

Ответить
@pindisriram8750
@pindisriram8750 - 23.02.2023 19:59

why u create main method in springboot application?

Ответить
@urmilaravishankar3172
@urmilaravishankar3172 - 13.02.2023 11:54

Hi Raghav!I have a basic, silly doubt..not clear about" what is selenium " bcoz coding is done java, or they use testng. So can functional testing b done with just Java( or testng) without selenium

Ответить
@SabineQmets
@SabineQmets - 11.02.2023 06:03

Hello Raghav,
when I run the test without downloading the driver or adding the WebdriverManager it still works! Is this something new from the latest update? Or should I still add the WebdriverManager?

Ответить
@shahzaibidreesahmed4827
@shahzaibidreesahmed4827 - 25.01.2023 13:10

Very interesting 💯 .... "Exception in thread "main" java.lang.ClassCastException: class org.openqa.selenium.chrome.ChromeDriver cannot be cast to class Autopackage.JavascriptExecuter (org.openqa.selenium.chrome.ChromeDriver and Autopackage.JavascriptExecuter are in unnamed module of loader 'app')" this exception is showing after the run javascriptexecuter code, please help me out. Thanks!

Ответить
@basavakeerthi4107
@basavakeerthi4107 - 19.01.2023 11:40

Hi Raghav, I'm trying the selenium 4.7.2 with 107 devtools version, but I see some issue.. Is there any way that I can contact you. Kindly help on this.

Ответить
@vipintekade6400
@vipintekade6400 - 15.01.2023 15:24

Hi Raghav please share github repo of selenium 4 entire program code ?

Ответить
@amitagrawal4494
@amitagrawal4494 - 28.12.2022 14:12

Hi Raghav,
Can you please add video with example for ScriptTimeOut.

Ответить
@snaarmy2992
@snaarmy2992 - 12.12.2022 11:45

what selenium version are companies expecting for in interviews? 3 or 4?

Ответить
@igorgoblin4791
@igorgoblin4791 - 17.11.2022 09:09

Hello, Raghav! Thanks a lot for the tutorials! It's very helpful! I've got a question at the moment - how a browser controlled by selenium webdriver deals with permanent cookies? For example, I login into a site, checked Remember be and close the browser session. The run webdriver again and navigate to the same site and see that the login information was cleared and I have to login again. Will you clarify what happens here and how deal with it? Thanks a lot in advance.

Ответить
@Hi-nh4tb
@Hi-nh4tb - 10.11.2022 07:07

Hi ,
I m currently working as a manual tester , planning to switch into Automation Testing,

I heard that 10 yrs experienced tester can be easily replaced with 5 yrs experienced tester for cost cutting, So that 10 yrs experienced tester will loose the job !
And also people say that ,
In dev 10 yrs experienced dev cannot be replaced by 5 yrs experienced dev in any company unlike Testers , is that true ?
Please reply


Does testers don't have life after 10/15 yrs work experience? Is it worth learning and putting efforts in Automation Testing and choosing it as an Career option?

please clarify this.

Ответить
@shavezrizvi3932
@shavezrizvi3932 - 06.11.2022 00:37

Hi raghav! I came across ur channel and found it soo much interesting. It's been 1 year of my working as an Analyst (QA) at Deloitte (Salesforce Tech currently) and now I desire to learn Automation part. So can I follow this end to end tutorial! I feel i am on right path🙌🏻✨

Ответить
@santhoshaug9597
@santhoshaug9597 - 26.10.2022 20:18

Hi sir, You are wonderful
I have a question >I'm unable to open the Empty browser >I'm getting an Exception like this >" Exception in thread "main" java.lang.AssertionError: No System TLS "> please help me with this sir.

Ответить
@justgo7310
@justgo7310 - 05.10.2022 17:46

Hi Raghav,I have a scenario where in user clicks on download button in UI for a particular module and sub-module then an outlook mail is triggered. I need a code where i would pass the module name and sub-module name as argument to vba code and use the same to validate that email is received in ms-outlook and in some scenarios read the email and if any attachments are there download the same.

Ответить
@ngmur7348
@ngmur7348 - 26.08.2022 10:06

very well done 👌👏👏 thank you!

Ответить
@jannatulnayeem6858
@jannatulnayeem6858 - 24.08.2022 00:43

Awesome tutorial; very easy way to learn; thanks a lot

Ответить
@yahiaamr7639
@yahiaamr7639 - 20.08.2022 15:39

when i click ctrl + i the code deleted

Ответить
@nikolinapetrova3452
@nikolinapetrova3452 - 18.08.2022 14:39

Thanks for your explanation. Can we expect videos Selenium with C# ?

Ответить
@desiincanada7573
@desiincanada7573 - 13.08.2022 15:49

Hi Raghav, thanks a lot for the videos. I have one quick question, even when I follow all the steps and add dependencies in pom.xml file, Maven doesn't download the dependencies. I tried to fix the issue but didn't get any help in the interent. I am using my personal laptop and my home internet. settings.xml file needs proxy details which I don't have.

Ответить
@atkuriajaykumar3701
@atkuriajaykumar3701 - 24.07.2022 08:53

By far very good selenium video , Thanks for your explanation.

Ответить
@86dushyanth
@86dushyanth - 04.07.2022 16:41

Thanks for narrowing basic Selenium4 session

Ответить
@himtanwar5021
@himtanwar5021 - 23.06.2022 09:27

Hello Raghav,
I need a bit of help, please help.
And always great work with the videos that you've made 👍

Ответить
@k.k9206
@k.k9206 - 22.06.2022 18:21

You rock, thanks so much! this was very helpful and well organized, you're a great teacher!

Ответить
@ekaterinasobko7219
@ekaterinasobko7219 - 19.06.2022 23:33

thank u a lot for the great tutorial!

Ответить
@TheAtarashiiKaze
@TheAtarashiiKaze - 13.06.2022 20:35

Cool demo. I am looking to buy a course to learn Selenium 4.X with Python. Do you have one?

Ответить
@jamseenaaa9028
@jamseenaaa9028 - 16.05.2022 11:04

Instead of using webdriver can i use chrome driver... Is it enough!?. When i import webdrivermanager(5.1.1) that is not added in the maven repository

Ответить
@jamseenaaa9028
@jamseenaaa9028 - 16.05.2022 11:01

I am beginner in selenium... From which one video i can start!? Selenium 4!? Or the the beginner video!?

Ответить
@vishnu3388
@vishnu3388 - 11.05.2022 19:39

While creating maven project,an error occurs "could not calculate build plan: plugin".please tell me a solution

Ответить