During my protractor testing, I noticed a discrepancy in the displayed time when running tests in Firefox (a 2-hour difference between the time shown on the website and the system time). However, when I manually run the test, there is no issue. My question is: How can I execute a protractor test with a custom (system) time zone? What should I include in the capabilities section?
capabilities: {
'browserName': '<BROWSER>',
version: '',
The 'timeZone': 'Europe/Minsk' setting does not seem to work. This problem only occurs during automated testing and specifically with Firefox.