- First go to your C drive
- Then find Users folder and your Personal folder in my case acer
- Then go to .android folder
- Now first you have to check what are the available emulators first
emulator -list-avds - you will get some thing like this, if not you have to create emulator device first.
- Now run following command by specifying which device you want. For me i will pick Nexus_5_API_24
emulator -avd Nexus_5_API_24 - And your job is done.
We are back with another 1hour tutorial 😇 . This time we will be creating Playwright and Typescript page object model framework. For this we will be using Visual Studio Code editor. Hope you have a basic idea on Playwright. There are plenty of resources you can refer to get the basic idea of the Playwright. In this tutorial we will be focussing more on how to implement Page Object model in Playwright. So let's begin. Before all of this, you must need to have node js installed. I hope you have already done that. 1. Download the relevant nodejs packages by using following command npm init playwright@latest 2. Lets create our project structure. Unlike Selenium 1 hour lesson for this we will be creating just two folders. To write page objects we use "pages" folder and to write tests we create "tests" folder. Just for now, run the default tests which Playwright automatically create with its installation. use npx playwright test command in your CMD. By de...
Comments
Post a Comment