简体   繁体   中英

Set localhost time to protractor

i want run my protractor tests in locahost time. I tried to modify my config.js like this

capabilities: {
'browserName': 'firefox',
  'time-zone': 'local', 

but it didn't resolve my problem. What should I do?

I think that local not working for time-zone, better to use the time-zone of your location, such as: 'time-zone': 'Alaska' . Consult here for more locations https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM