From the course: Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Playwright docs

Playwright docs

Now that we have installed playwright, we can go ahead and start creating web automation scripts. But before writing any code, let's go ahead and see what we are going to do. To get started, we'll go ahead and first of all, open a browser that is Google Chrome right here. And then we'll visit a website. You can see by default, we already have a page open. And here we can just visit playwright.dev that is the playwright's homepage. And here we can go ahead visit the documentations to read the docs of playwright. Now this is a really simple task, but it will be a good exercise to get started. So what we did is three things. First of all, we opened the Chrome browser, we created a new page, which was already there when we created the browser. And then we visited the playwright.dev website. From there, we clicked on this docs button. And in the docs button, we can just take the URL of the website and we'll be alright. Now there's also another thing that is, there is no JS selected by…

Contents