On our automated tests we run in a few situation where we can't test certain features. For example when we detect a unique page view we compare the referrer with the current hostname. We need to test if that works with www subdomains. In BrowserStack we can only run the tests from localhost. To fix this we need to overwrite the readonly variables:
On our automated tests we run in a few situation where we can't test certain features. For example when we detect a unique page view we compare the referrer with the current hostname. We need to test if that works with
www
subdomains. In BrowserStack we can only run the tests from localhost. To fix this we need to overwrite the readonly variables:Although this does not work for hostname:
The text was updated successfully, but these errors were encountered: