Isha Chaudhary’s Post

View profile for Isha Chaudhary, graphic

QA Automation Engineer at KatchinTech | Quality Assurance expert | Specializing in Selenium, TestNG & Automation Frameworks | Enhancing Software Quality & Efficiency

Exciting Announcement: Selenium Automation Interview Questions Series! Starting today, I’ll be covering one Selenium automation interview question each day. Stay tuned for concise and clear answers. Day 1: How does Selenium work? Selenium automates web browsers using WebDriver, which communicates with the browser. Here’s a simple explanation of its architecture and an example: Architecture: Test Script: Written in languages like Java, Python, etc. WebDriver: Acts as a bridge between the test script and the browser. JSON Wire Protocol: Used by WebDriver to communicate with the browser driver. Browser Driver: Specific to each browser (ChromeDriver for Chrome, GeckoDriver for Firefox). Browser: Where the tests are executed. Flow: The test script sends commands to the WebDriver. WebDriver translates these commands into JSON format and sends them using the JSON Wire Protocol to the Browser Driver. The Browser Driver communicates with the browser to perform actions like clicking a button or entering text. Results are sent back in the reverse order. Got more questions you'd like me to cover? Drop them in the comments! #Selenium #AutomationTesting 

  • diagram
Shravan Durgam

Senior Staff Engineer at Nagarro || Selenium || Appium || RestAssured

4mo

Hi Isha Chaudhary Small correction..! In Selenium 4, the W3C WebDriver protocol is the standard used for communication between Selenium and browsers. This replaces the JSON Wire Protocol, which was used in earlier versions of Selenium. Key Points: W3C WebDriver Protocol: Selenium 4 uses the W3C WebDriver standard, which is a standardized way for WebDriver to communicate with browsers. This protocol ensures better compatibility and interoperability across different browsers. It simplifies the command structure and reduces the need for browser-specific implementations. JSON Wire Protocol: This was used in previous versions of Selenium (Selenium 3 and earlier) to communicate with browsers. It was based on HTTP JSON requests and responses but was more prone to variations and inconsistencies across different browser implementations. Architecture of Selenium 4 WebDriver

  • No alternative text description for this image
shiva krishna

Automation Testing || Selenium || Java || Cucumber || RestAssured || Manual Testing || Regression Testing || Smoke and Sanity Testing || API Postman || Mobile Testing with Perfecto

4mo

Thanks for sharing, very helpful

Like
Reply
Muhammad Anas

SQA | Functional Testing| Regression Testing| API Testing| Bug reporting | Test Automation using Cypress | UI/UX Testing | Test Scripts | performance Testing | SEO | On & Off page SEO

5mo

What about manual testing scenarios interview questions?

Like
Reply
Pawan Singh Dosad

Software Test Engineer || Java || Selenium || SQL || Manual Testing || Automation Testing || TestNG || Postman || Quality Assurance

5mo

Very helpful, Thanks!!

Like
Reply
Namrata Singh

coding enthusiast, working on DSA, leveling up my Development skills

5mo

Thanks for sharing

Tanya Aggarwal

Chemical Engineer|| Intern@Chakr Innovation

5mo

Insightful!

See more comments

To view or add a comment, sign in

Explore topics