Tab Loads Instead of a Page
Have you read the documentation?
- [x] Yes, I've read the how to make a reproducable bug guide
- [x] Yes, I've read the how to debug my script guide
URL
https://www.sitespeed.io/
What are you trying to accomplish
When I try to load a page on a Android device, a page tries to load as a tab (Please see attached image) and never loads a actual page because of it. I used to work fine so I am curious if a bug was introduced in the later versions of the sitespeed. When I manually select the tab to load, then it works fine.
[2025-04-24 13:08:25] INFO: Versions OS: win32 10.0.22631 nodejs: v20.11.0 sitespeed.io: 37.4.2 browsertime: 24.5.2 coach: 8.1.1 [2025-04-24 13:08:25] INFO: Axe version 4.10.2 plugin activated [2025-04-24 13:08:27] INFO: Run tests on SM-S901U [R5CT10NRCKA] using Android version 12 [2025-04-24 13:08:27] INFO: Running tests using Chrome - 3 iteration(s) [2025-04-24 13:08:31] INFO: Start to measure Homepage [2025-04-24 13:08:33] INFO: Navigating to url https://argo.webstaurantstore.com/ iteration 1 [2025-04-24 13:08:45] INFO: Will check again if the browser has navigated to the page [2025-04-24 13:09:05] INFO: Will check again if the browser has navigated to the page [2025-04-24 13:09:35] INFO: Will check again if the browser has navigated to the page [2025-04-24 13:10:16] INFO: Will check again if the browser has navigated to the page [2025-04-24 13:11:06] INFO: Will check again if the browser has navigated to the page
What browser did you use?
Chrome
How to reproduce
Run a test on a mobile browser Android device using Chrome with the latest Sitespeed.io version with npm.
Log output
[2025-04-24 13:08:25] INFO: Versions OS: win32 10.0.22631 nodejs: v20.11.0 sitespeed.io: 37.4.2 browsertime: 24.5.2 coach: 8.1.1
[2025-04-24 13:08:25] INFO: Axe version 4.10.2 plugin activated
[2025-04-24 13:08:27] INFO: Run tests on SM-S901U [R5CT10NRCKA] using Android version 12
[2025-04-24 13:08:27] INFO: Running tests using Chrome - 3 iteration(s)
[2025-04-24 13:08:31] INFO: Start to measure Homepage
[2025-04-24 13:08:33] INFO: Navigating to url https://argo.webstaurantstore.com/ iteration 1
[2025-04-24 13:08:45] INFO: Will check again if the browser has navigated to the page
[2025-04-24 13:09:05] INFO: Will check again if the browser has navigated to the page
[2025-04-24 13:09:35] INFO: Will check again if the browser has navigated to the page
[2025-04-24 13:10:16] INFO: Will check again if the browser has navigated to the page
[2025-04-24 13:11:06] INFO: Will check again if the browser has navigated to the page
Hi @2343909 could it be a setting on your phone? I tried with Chrome 135 and I cannot reproduce.
Hi @soulgalore Hmmm, I use I script with selenium (example.mjs) to load a page. I have not been changing any settings on the phone but I will take a look... Script:
/**
*
* @param {import('browsertime').BrowsertimeContext} context
* @param {import('browsertime').BrowsertimeCommands} commands
*/
export default async function (context, commands) {
const seleniumWebdriver = context.selenium.webdriver;
const By = seleniumWebdriver.By;
const seleniumDriver = context.selenium.driver;
await commands.measure.start('Homepage');
await commands.navigate('https://www.sitespeed.io/');
await commands.wait.byPageToComplete();
await commands.measure.stop();
}
I cleared the cache on the browser and that seamed to help. Not sure if this will be a long term fix.
The issue came back so I am just handling the tab within the script. Still not sure why it loads the browser as a tab. The phone settings appear to be fine.
Hmm this is strange I haven't been able to reproduce it.