Playwright Automation Testing
Playwright Automation Testing:
Playwright is an open-source automation library for browser testing and web scraping developed by Microsoft and launched on 31 January 2020, which has since become popular among programmers and web developers.
Playwright provides the ability to automate browser tasks in Chromium, Firefox and WebKit with a single API. This allows developers to create reliable end-to-end tests that are capable of running in non-headless mode, as well as in headless mode for automation. Playwright has been compared to Cypress.
Playwright supports programming languages like JavaScript, Python, C# and Java, though its main API was originally written in Node.js. It supports all modern web features including network interception and multiple browser contexts and provides automatic waiting, which reduces the flakiness of tests.
Click on Go To button below for each topic in detail
1. Playwright Java setup in Eclipse IDE
2. Write and run the first Playwright-Java Test
3. Launch Chromium, Mozilla, Webkit, Chrome, Edge browsers using Playwright-Java
4. Inspector feature and initiate the opening of numerous browser tabs with Playwright-Java
5. Playwright-Java's 'Record' capability
6. Playwright-Java’s ‘text’ locator and usage of first() and last() method
7. Utilize Playwright-Java to interact with dropdown menus
8. Timeouts in Playwright Java
9. Understand Explicit timeout in Playwright Java
10. Usage of “scope” locator to handle dynamic webtable in Playwright Java
11. Relative Locators in Playwright Java (below, above, near, right-of, left-of)
12. Utilize the hover and click command in Playwright Java
13. Keypress feature and introduction to API testing in Playwright Java
14. Create and validate POST request using Playwright Java
15. Upload file using Playwright Java
16. File Download using Playwright Java
17. Leverage Playwright Java to access the element using its Nth index
18. Maximize browser window using Playwright Java
19. ‘Trace Viewer’ tool and ‘Recording’ using Inspector in Playwright-Java
20. Emulate/Mock GEO Locations using Playwright Java
21. Authenticate automatically using Json file in Playwright-Java
22. Browser based Authentication and handling shadow root elements in Playwright Java
23. Take Screenshot and capture video using Playwright Java
24. Data Driven Testing using Playwright Java
25. Launch Non-Incognito Browser Windows using Playwright Java
26. Javascript dialogs handling using Playwright Java
27. Handling frames in Playwright Java
28. Create TestNg Test using Playwright Java
29. Gestures (Slider, Resizable elements) in Playwright Java
30. Handle ‘double click’, ‘drag and drop’ using Playwright Java
31. Allure Report generation using Playwright Java
32. Handle Radio buttons using Playwright Java
33. Handle Checkboxes using Playwright Java
34. Handle Calendars and Date picks using Playwright Java
35. Usage of stream(), has-text() and mouse right click methods using Playwright Java
36. Verify “Current versus Expected Url”, Verify “Placeholder Text” using Playwright Java
37. Soft Assertion using Playwright Java
38. Verify “Page Title”, “Text Not Present” using Playwright Java
39. Verify “Tool Tip”, Set focus to element using Playwright Java
40. Assert Checkboxes, usage of “blur” and “clear” methods in Playwright Java
© Copyright 2021 RahulShettyAcademy, all rights reserved.