Comments (6)
Probably related to #47
Unfortunately it's not possible to specify the revision since WebKit or Firefox are tight to the specific Playwright release, but we will allow in the future to only install a single browser. (For Chromium its not that bound but we still support only the given version).
Why do you want to install a specific version?
from playwright-python.
Why do you want to install a specific version?
Different versions behave differently and newer versions have many performance improvements. The current chromium version for example is a bit dated 😬
from playwright-python.
Why do you want to install a specific version?
Different versions behave differently and newer versions have many performance improvements. The current chromium version for example is a bit dated 😬
Playwright does only support one of the latest versions of Chromium since we rely on features in the Chrome DevTools Protocol which were added especially because of Playwrights needs.
To use a different version which is a few weeks behind would probably work but does not make much sense then.
from playwright-python.
Playwright does only support one of the latest versions of Chromium
I think you misunderstood me. The current version that comes installed right now is 792639
where the newest one at the time of writing is:
$ curl https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media
798041
That's 5402 revisions/commits behind or whatever the number implies or time-wise speaking it's over 2 weeks old as the coded release is from 2020-07-29.
Nevertheless it would be nice to have control over which version of the browser playwright automates. I've tried changing browsers.json
but seems like it's only being picked up by install
command and playwright's code is not picking up the change.
from playwright-python.
You can pass executablePath
into launch
and use any browser at your own risk!
from playwright-python.
You can as Pavel outlined the executablePath. There are no plans to support custom versions and using executablePath is at your own risk.
from playwright-python.
Related Issues (20)
- [Bug]: Website reached from Docker behaves differently HOT 1
- PyInstaller can't package chromium driver on x86_64[Bug]: HOT 4
- [Bug]: Blackscreen browser headless=False CHROME HOT 1
- Python Playwright doesn't work in my computer HOT 2
- Why does executing pytest --tracing on in some code not produce the trace.zip file and also delete the existing test-results directory HOT 6
- [Bug]: `EventContextManager` does not conform to `AbstractContextManager` protocol
- [Feature]: Add extra logging for the PW
- [Bug]: Locator Click() Timeout error in headless session while clickable in non headless HOT 1
- [Ports]: Backport client side changes
- [Docs]: How to run demo code step by step? HOT 1
- playwright1.42,chrome is being controlled by automated testing software HOT 2
- How to Dynamically pass values inside this locator HOT 2
- Unable to pass Dynamic values inside a Locator picked using Playwright Inspector HOT 1
- [Bug]: Zombie thread problem HOT 2
- [Bug]: laywright._impl._errors.Error: Page.goto: Page crashed HOT 4
- How to get the error type Console in the browser? HOT 3
- [Bug]: set_checked() doesn't work on checkbox element of a slider HOT 7
- How to locate the chromewebstore's confirm dialog? HOT 1
- how to get Twitter cookie and login with headless chromium HOT 1
- [Bug]: `Download.failure()` raises `TypeError: expected string or bytes-like object, got 'NoneType'`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright-python.