11 Comments
User's avatar
Eslam's avatar

Greet and thanks

But I have a question why use drive= getDriver()

again and creating again private webdriver drive;

At test base?

Expand full comment
Anant's avatar

Well explained really......

Expand full comment
Dhara's avatar

Thanks Anant

Expand full comment
Sagar Mundale's avatar

Very well explained about the Test Automation framework...from the set-up to adding dependencies and with perfectly examples..... everytime I go through Your newsletter, I learn something new as well as brush up my knowledge because you made things simpler which helps us to understand easily and more in depth...... I can say that this is the best newsletter about testing/Java-selenium I am following 💯.... Thanks for sharing amazing newsletter 👏

Expand full comment
Dhara's avatar

Thank you S M. Really appreciate you taking time to give feedback.

There are so many great features in the pipeline for upcoming newsletter editions and I can assure you that in every newsletter you will learn something new.

And I can assure you that these newsletter will not be limited to Selenium only. Once Selenium series is covered end to end , I will start playwright, cypress, Rest Assured, cucumber, Postman, robot framework newsletter series.

Enjoy reading.

Expand full comment
Daimi's avatar

Hello,

I follow your publications. I am starting to automate tests using selenium and java.

In the example you show, how does the driver know which is the url to open?

Greetings and thank you very much

Expand full comment
Dhara's avatar

In the example given here, If you check LoginTest setup function, that is where we are getting driver and navigating to url using driver.get("url").

Let me know if you have any other questions.

Expand full comment
Daimi's avatar

Dhara, thanks for your answer. I can see driver.get("url") but my what is the url address?

Expand full comment
Dhara's avatar

For e.g. “https://google.com”

Expand full comment
Daimi's avatar

Exacly, when you say: driver.get("url")

The driver needs to know the url String

Expand full comment
Dhara's avatar

Yes, when we are doing automation tests, we should know what is the URL of the website we are automating.

Expand full comment