Assignment 1: Automate Browser Actions - Launch Browser, maximize window, validate title & close browser

Automate using Browser Selenium Commands - Launch browser, maximize, validate page title and close browser. It should be your first webdriver script.

Assignment Level - Beginner

Steps to Automate:


1. Open this link - https://www.techlistic.com/

2. Launch Firefox browser. (You can choose browser of your choice).

3. Maximize or set size of browser window.

4. Get Title of page and validate it with expected value.

5. Get URL of current page and validate it with expected value.

6. Get Page source of web page.

7. And Validate that page title is present in page source.

8. Close browser.

Try writing program for these steps and execute. You can refer following link for help.





Reference link for Solution:


Refer Selenium Webdriver Tutorials Series

Join Telegram channel at https://t.me/techlistic
Feel free to ask queries or share your thoughts in comments or email me.

Comments

  1. Hello sir,
    In above assignment mentioned the validat the title...then can we use here soft assert?
    If no then when we use soft in code..pls explt me

    ReplyDelete
  2. I have read your blog its very attractive and impressive. I like your blog. selenium online training

    ReplyDelete

Post a Comment

Popular Posts

Top 10 Demo Websites to Practice Selenium Webdriver Online

Top 25 Must to know Selenium Webdriver Commands List

Assignment 5: Automate "Buy Product" Functionality for E-commerce Website using Selenium

Selenium Essentials - How to become expert in Automation Testing?

Selenium WebDriver - Browser and Navigation Commands