{"id":12482,"date":"2022-10-17T10:00:00","date_gmt":"2022-10-17T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=12482"},"modified":"2022-10-07T18:23:20","modified_gmt":"2022-10-07T09:23:20","slug":"webdriverio","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/12482","title":{"rendered":"WebdriverIO"},"content":{"rendered":"\n<p>WebdriverIO is an open source test automation framework written in JavaScript and running on NodeJS. This is especially useful when testing his web apps and native mobile apps for iOS devices. It supports both behavior-driven development (BDD) and test-driven development (TDD), making it a highly preferred choice for automation testers.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/res.cloudinary.com\/practicaldev\/image\/fetch\/s--co5LdVu9--\/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880\/https:\/\/i2.wp.com\/grantnorwood.com\/app\/uploads\/2017\/07\/webdriver-io-logo.png%3Fw%3D1680%26ssl%3D1\" alt=\"What is WebdriverIO? - DEV Community &#x1f469;&#x200d;&#x1f4bb;&#x1f468;&#x200d;&#x1f4bb;\" \/><\/figure>\n\n\n\n<p>WebdriverIO is based on NodeJS, an implementation of the JSON Wire protocol. It communicates using NodeJS, packaged on npm, open source and widely used for app development. Run automated tests using RESTful architecture.<\/p>\n\n\n\n<p>A user writes a test script in JavaScript using his WebdriverIO library. Service requests are sent as HTTP commands via NodeJS. It uses the JSON Wire protocol and the service module forwards the request to the browser.<\/p>\n\n\n\n<p>Upon receiving the command, the browser performs the user&#8217;s action. This proves the functionality of the application.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/3fxtqy18kygf3on3bu39kh93-wpengine.netdna-ssl.com\/wp-content\/uploads\/2020\/09\/WebdriverIO-Architecture.png\" alt=\"\" \/><figcaption>Credit: BrowserStack<\/figcaption><\/figure>\n\n\n\n<p>A common reason to use WebdriverIO is to be able to test native mobile apps for iOS-enabled devices. It is very useful for QA because of its simple structure and the ability to write test scripts concisely.<\/p>\n\n\n\n<p>WebdriverIO easily integrates with third-party test solution providers such as BrowserStack. This gives QA easy access to additional features such as recording tests, using real cloud devices and browsers, and test reports.<\/p>\n\n\n\n<p>Yuuma<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12482\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/12482\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"WebdriverIO\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12482\" data-text=\"WebdriverIO\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12482\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/12482\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>WebdriverIO is an open source test automation framework written in JavaScript and running on NodeJS. This is e [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[100],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12482"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=12482"}],"version-history":[{"count":1,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12482\/revisions"}],"predecessor-version":[{"id":12483,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/12482\/revisions\/12483"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=12482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=12482"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=12482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}