question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] IP:PORT Proxy doesnt work on playwright-firefox

See original GitHub issue
  • Playwright Version: ^1.2.1
  • Operating System: Windows
  • Node.js version: v14.1.0.
  • Browser: Firefox

Code Snippet

options.proxy = {
	server: "<port>:<ip>",
};

await firefox.launch(options)

Orginal Error: image It seems like that ip:port proxies don’t work with playwright-firefox.

When you put http:// before it the browser starts, but throws this error: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pavlealeksiccommented, Aug 21, 2020

The problem also might be not adding http:// in front of the proxy ip:port

0reactions
aslushnikovcommented, Aug 21, 2020

Ah, now I understand! We have a shortform in the documentation that doesn’t actually work for firefox. We’ll fix this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using proxies with playwright in python - Stack Overflow
1 Answer 1 ; import ThreadPoolExecutor check_proxies_url = "https://httpbin.org/ip" ; for data in ; "https": proxy, "http" ; 0], count=1 ; except ...
Read more >
How to use a proxy in Playwright - ScrapingAnt
How to use a proxy in Playwright? Playwright is a high-level API to control and automate headless Chrome (Chromium), Firefox and Webkit. It...
Read more >
11 Ways to Fix the ERR_CONNECTION_TIMED_OUT Error
Checking the network connection; Checking the proxy and firewall ... and then move on to the second if it doesn't find and fix...
Read more >
Web Scraping With a Headless Browser: Puppeteer - ScrapFly
In this tutorial, we'll take a look at Puppeteer - a brilliant open source browser automation library for JavaScript (NodeJS).
Read more >
Setting up your own test automation environment
You should see an instance of Firefox automatically open up! Google should automatically be loaded in a tab, "webdriver" should be entered ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found