Skip to content
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

Headless(false) using stealth #23

Open
amlwwalker opened this issue Sep 21, 2022 · 3 comments
Open

Headless(false) using stealth #23

amlwwalker opened this issue Sep 21, 2022 · 3 comments

Comments

@amlwwalker
Copy link

When using this stealth plugin, it seems its not able to open/show the browser window - which is possible when not using this.

I am using the launcher like

	l := launcher.New().
		Headless(false).
		Devtools(true)
	defer l.Cleanup() // remove launcher.FlagUserDataDir
	url := l.MustLaunch()

however with stealth it seems to ignore the Headless(false) parameter?

@ysmood
Copy link
Member

ysmood commented Sep 21, 2022

Works fine to me, need more info.

@dunaevv
Copy link

dunaevv commented Oct 26, 2022

When using this stealth plugin, it seems its not able to open/show the browser window - which is possible when not using this.

I am using the launcher like

	l := launcher.New().
		Headless(false).
		Devtools(true)
	defer l.Cleanup() // remove launcher.FlagUserDataDir
	url := l.MustLaunch()

however with stealth it seems to ignore the Headless(false) parameter?

same here

@patrick-othmer
Copy link

patrick-othmer commented Nov 9, 2022

Maybe helpful here:

	l := launcher.New().
		Headless(false).
		Devtools(true)
	defer l.Cleanup() // remove launcher.FlagUserDataDir
	url := l.MustLaunch()

	browser := rod.New().ControlURL(url).Timeout(time.Minute).MustConnect()
	defer browser.MustClose()
	page := stealth.MustPage(browser)
	page.MustNavigate("https://www.wikipedia.org")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants