Wednesday 8 February 2023

Playwright tutorial

Introduction to Playwright
Playwright: Hello World application
Playwright: capture the screenshot
Playwright: Fill the input using locator.fill() method
Playwright: fill the input using type() method
Playwright: select a radio button
Playwright: check whether radio button is selected or not?
Playwright: select a check box
Playwright: how to check whether a checkbox is selected or not?
Playwright: select an option from a drop down list
Playwright: select multiple items from a select tag once
Playwright: type a text on the selected element
Playwright: press(): working with keyboard events
Playwright: upload a file
Playwright: upload multiple files
Playwright: focus the element
Playwright : drag and drop example
Playwright: drag manually using mouse up, down methods
Playwright: blur the matching element
Playwright: clear the input element
Playwright: dispatch an event on the element
Playwright: tap the element
Playwright: exploring Locator class
Playwright: Get all the inner text values of all the matching nodes
Playwright: allTextContents: all the text content values for all matching nodes
Playwright: Get bounding box of an element
Playwright: Count number of elements match to a selector
Playwright: ElementHandle: Get the DOM element reference
Playwright: evaluate: Run custom javascript code
Playwright: filter the matching elements
Playwright: Get the first matching element
Playwright: working with iframes
Playwright: how to get the element attributes?
Playwright: Get the innerHTML of matching element
Playwright: innerText : Get inner text of the element
Playwright: Get the value of input field, textarea, select element
Playwright: check whether the element is disabled or not
Playwright: check whether the element is editable or not
Playwright: Check whether the element is enabled or not
Playwright: Check whether the element is hidden or not
Playwright: Check whether an element is visible or not in the page
Playwright: Get the locator of last matching element
Playwright: Get nth matching element
Playwright: Get the page reference from the locator
Playwright: Select or highlight the text content
Playwright: check or uncheck the checkbox using setChecked method
Playwright: uncheck the radio button or checkbox using uncheck method
Playwright: different ways to get locators
Playwright: Get the locator by ARIA role
Playwright: Locate the element by text content
Playwright: get the locator by label text
Playwright: Get the locator by placeholder text
Playwright: Get the locator by alt text
Playwright: Get the locator by title
Playwright: Locate the elements by test id
Playwright: get the locator by a selector
Playwright: get all the titles in google search result
Playwright: How to get the current page url?
Playwright: get collection of elements matched to a selector
Playwright: implement auto scroll
Playwright: Go to end of the page
Playwright: Go to end of the page
Playwright: launch installed chrome browser
Playwright: ignore https or ssl errors
Playwright: How to configure base url?
Playwright: Open a page in new tab
Playwright: How to add custom headers?
Playwright: Download a file using playwright
Playwright: Get elements relative to an ElementHandle
Playwright: get all the styles associated with an element
Playwright: customize browser locale
Playwright: define timeouts globally
Playwright: print page source
Playwright: Read the cookies
Playwright: switch between tabs
Playwright: wait for the request and validate the response
Playwright: wait for an element
Playwright: resize the page
Skelton for unit tests in PlayWright
How to Write Accessibility Tests in Playwright?
Writing API tests in Playwright

Previous                                                 Next                                                 Home

No comments:

Post a Comment