Comments (6)
Thanks for the suggestion. An API like that we considered useful and already implemented it for WebDriver BiDi. It's called session.end
. Given that our focus is on the BiDi protocol which will completely replace WebDriver classic eventually, I don't think that we will get such an API added for it.
from webdriver.
Note that there is a number of APIs that we are going to implement for BiDi only. And this is most likely one of these.
from webdriver.
I don't think we should let "eventually completely replace" get in the way of useful functionality today. That being said, I'm probably not going to be the one implementing it.
from webdriver.
Does session.end
actually implement a session reset? I feel like session.end
means the session may not be used again. But what I'm asking for is a state reset of the given session, so we don't need to create the session for subsequent tests.
from webdriver.
Sorry, but perhaps you can help with further clarification:
6.1.3.2. The session.new Command
The session.new command allows creating a new BiDi session.
NOTE: A session created this way will not be accessible via HTTP.
Regarding the NOTE, does that also apply that sessions created via HTTP are not accessible via the BiDi interface?
from webdriver.
Note that creating a new session with WebDriver BiDi is cheap. Note that it will not restart the browser as for WebDriver HTTP. So I don't see an issue here.
Regarding your last question, it is always possible to access a session as created via WebDriver HTTP from BiDi. But it's not possible the other way around.
from webdriver.
Related Issues (20)
- Clarify how the double click tracking should work in the actions
- Update commit reference for Selenium atoms HOT 2
- Rational for this key? HOT 2
- Move "Get Title" into "Document" section. HOT 3
- Consider introducing per-Element script execution.
- Spec: 12.5.1 Element Click: "pointer up action" is not used HOT 1
- What's a "user prompt"?
- Update commit reference for Selenium atoms (follow-up from issue #1773)
- Safari is unable to get text from components with Shadow DOM HOT 2
- RCS WebdriverInstaller
- webdriver
- Allow uploading folders HOT 1
- Output-only capabilities HOT 1
- setWindowRect should be matched as a capability HOT 7
- Add ability to save autofill data and trigger autofill on form elements HOT 7
- w3c wheel actions sometimes can't perform deltaX,deltaY movement HOT 1
- "Run the post navigation checks" doesn't make sense
- Clearing input cancel list in Element Send Keys HOT 3
- "Create an input source" doesn't add the source to the map HOT 5
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 webdriver.