-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser is not supported error #32
Comments
@KomalAgarwal1 MemLab doesn't support Firefox for now. The |
@JacksonGL I have tried with page parameter also, but its giving the same error. |
@KomalAgarwal1 Can you share the scenario file (with the page parameter)?
What kind of chromium + Puppeteer (besides stand alone version) are you using? |
Hi @JacksonGL Can you please elaborate on below? |
@KomalAgarwal1 earlier you mentioned:
So I was asking which puppeteer + chromium version you are using that is not working for the script? |
@KomalAgarwal1 Also thanks for sharing the script, I see it no longer contains the Tip: when the memlab run fails, rerun memlab with |
@JacksonGL No the script is still not working, it gives the same error as shown in screenshot. Please see detailed logging below: Xvfb supports: false
|
Puppeteer version: 13.7.0 |
@KomalAgarwal1 Can you share the full error message? (including the
If I understand correctly, you had a standalone puppeteer script (without MemLab) that did the same interactions, and it worked. Is that right? |
@JacksonGL The one I have shared in above comment is the complete error message. If I understand correctly, you had a standalone puppeteer script (without MemLab) that did the same interactions, and it worked. Is that right? |
Ah ok, I thought the error message was incomplete because of the line separator. This part is interesting:
I guess |
If that is the case, Is there a way using which I can pass the user-agent from memlab script? |
Also, the browser version is same from both memlab and puppeteer(stand alone) |
yeah I know, memlab sets a default user agent string here: For now, there is no option to set the user agent in MemLab CLI (we can add one). To verify the theory about user agent checking, you can check out memlab git repo, change the user agent in the link above, build with
|
@JacksonGL defaultUserAgent: I am getting error in build step. Attaching the error log for the same |
@KomalAgarwal1 looks like you are building on Windows, please build with Git Bash |
@JacksonGL Actual behavior of app: This page generates a login page and gives option to enter user details but this isn't loading properly. Log details : |
@KomalAgarwal1 That's strange. I would recommend a few things to try:
|
Differential Revision: D39777353 fbshipit-source-id: 49c359142822746fd842e0a4d0d75991e66eb9ba
@JacksonGL These steps didn't helped much because I see the same behavior of the application. It is not loading the Email and Login area. |
@KomalAgarwal1 Here are all the puppeteer configs in MemLab, you can start by removing all of the configs and add them back one by one and see which puppeteer config doesn't work with the site under test: https://github.com/facebook/memlab/blob/main/packages/core/src/lib/Config.ts#L270 |
Hi Team,
I am getting unsupported browser issue during initial launch, while trying to run memlab on an application. (Ran the script in headful mode).
Observed the same script is working in Puppeteer(stand alone version) for the same chromium version.
Chrome Version is 101.0.4950.0
Tried using below code in setup function but it did'nt help:
async function setup() {
const browser = await puppeteer.launch({ product: "firefox" });
const page = await browser.newPage();
}
Can you please confirm if there is any way to select a different browser via some code in script or in runtime while executing using CLI?
Below is the screenshot of error :
Error on console:
page-load(baseline)[s1] > action-on-page(target)[s2] > revert(final)[s3]
interaction fail, making 2 more attempt(s)...
interaction fail, making 1 more attempt(s)...
Use
memlab help
ormemlab <COMMAND> -h
to get helper textinteraction fail
The text was updated successfully, but these errors were encountered: