Protected: WebDriverIO Writing Your First WebDriverIO Test Script Estimated reading: 1 minute 74 views IntroductionWriting Your First WebDriverIO Test Script is where the fun begins. Now that I’ve set up the framework, it’s time to test the login form on our demo app.Creating the Test FileInside the /test/specs/ directory, I create a file:Bashtouch signin.e2e.jsThen I write this basic test:JavaScriptdescribe('Sign In Page Test', () => { it('should load the sign in page and check title', async () => { await browser.url('/pages-signin.html'); const title = await browser.getTitle(); expect(title).toContain('Sign In'); }); });Running the TestI execute:Bashnpx wdio run wdio.conf.jsThe browser opens the sign-in page and verifies the title contains “Sign In”.ConclusionYou’ve just written your first automated test using WebDriverIO. Next, we’ll explore how to start Locating and Interacting with Web Elements in WebDriverIO. Protected: WebDriverIO - Previous Protected: Getting Started with WebDriverIO Next - Protected: WebDriverIO Locating and Interacting with Web Elements in WebDriverIO