Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (619) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More
( 6 months ago )

How to use safari technology preview in webdriver io tests (using wdio test runner)?

General Tech Technology & Software
Max. 2000 characters
Replies

usr_profile.png
Garry Buttler

User

( 6 months ago )

 

I tried running my tests on safari technology preview release 43 (Safari 11.1, WebKit 12605.1.12) using the below desired capabilities in wdio.conf.js.

capabilities: [{
    browserName: 'safari',
    'safari.options': {
        technologyPreview: true
    }
}]

Every time I run the tests, regular version of browser gets opened. Anybody facing similar issue?

Please find the logs below

[14:39:54]  COMMAND    POST      "/wd/hub/session"
[14:39:54]  DATA        {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"browserName":"safari","safari.options":{"technologyPreview":true},"loggingPrefs":{"browser":"ALL","driver":"ALL"},"requestOrigins":{"url":"http://webdriver.io","version":"4.6.2","name":"webdriverio"}}}
[14:39:55]  INFO    SET SESSION ID EE19F81D-B054-4926-8235-B64387250665
[14:39:55]  RESULT        {"applicationCacheEnabled":true,"rotatable":false,"databaseEnabled":true,"handlesAlerts":true,"version":"12604.3.5.1.1","cleanSession":true,"platform":"macOS","nativeEvents":true,"locationContextEnabled":false,"webStorageEnabled":true,"browserName":"safari","javascriptEnabled":true,"platformName":"macOS","cssSelectorsEnabled":true}
[14:39:56]  COMMAND    POST      "/wd/hub/session/EE19F81D-B054-4926-8235-B64387250665/ur

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif