Comments (3)
It may also be desirable to allow setting an initial URL for non-persistent contexts too, i.e. making it possible to have the default context automatically navigate to a user-supplied URL when using launch
.
This would require removing the --no-startup-window
flag when isPersistent
is false and appending the URL in question too.
from playwright.
This parameters you pass in launch/launchPersistentContext are fully customizable with a combination of ignoreDefaultArgs and args. We settled over time on the default arguments that we have today, they give you the most flexible control over the browser from the very beginning of the process run, there are no plans to change it.
from playwright.
That is nearly true - it isn't possible to 'specify page to be opened', which seems like a fairly arbitrary limitation.
playwright/packages/playwright-core/src/server/chromium/chromium.ts
Lines 301 to 302 in a9200be
from playwright.
Related Issues (20)
- [Bug]: NewTab doesn't work properly with Chrome on 1.45 with --disable-web-security HOT 9
- [Bug]: Impossible to open UI Mode HOT 5
- [Bug]: test timeouts when using webSecurity: false in electron
- [Bug]: aria-disabled is not handled correctly in click() or toBeDisabled assertion HOT 6
- Run Playwright server for component tests in docker HOT 3
- [Regression]: Locators of elements changing from/to hidden have operations hanging in 1.45.0 HOT 7
- Target page, context or browser has been closed HOT 4
- [Bug]: Missing files should have non-zero exit code HOT 1
- [Bug]: when we have an error of "waiting for a response" timeout there is no indication to which request it is connected
- [Bug]: timeout error message missing required data HOT 4
- expect() false positive HOT 2
- [Feature]: Add configuration key to run only tests that have been modified via git HOT 1
- [Please read the message below]
- How to compare two .png images with different size using playwright with typescript? HOT 2
- [Feature]: Disabled Auto Dismiss Dialog
- [Regression]: test.beforeEach() still runs when test.skip() returns true when it references fixture param HOT 2
- [Bug]: playwright._impl._errors.Error: BrowserType.connect_over_cdp: WebSocket error: connect ECONNREFUSED HOT 1
- [Bug]: Response headers does not have Location value HOT 1
- Hi Team, Im using playwright with java. I have a requirement to run all our desktop browser testing on Mobile. But I am not able to see any doc for java with mobile device emulator in https://playwright.dev/java/ . Can anyone help if this feature can be added. HOT 1
- Hi Team, Im using playwright with java. I have a requirement to run all our desktop browser testing on Mobile. But I am not able to see any doc for java with mobile device emulator in https://playwright.dev/java/ . Can you help in adding this feature. Please suggest if any alternative solution. HOT 1
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.