Comments (3)
TabFS needs to work with the browser you already have running; it can't require that you start up the browser in a special mode, or use a headless browser, or anything like that.
https://searchfox.org/mozilla-central/source/browser/app/winlauncher/LauncherProcessWin.cpp#89
Yeah, it requires to start a browser in a special mode. It can be done either by flags, or by env variables.
(can you even manage tabs and windows in WebDriver? it looks like it's meant for automation of an individual page. what about browser history? persistent storage?)
To some extent. One can open and close tabs. About windows - I have not used this functionality, so IDK.
Marionette allows even more, since it is an internal protocol Mozilla used to test Firefox itself.
I prefer not to add any more dependencies (third-party client library, browser extension stub, programming languages that those are written in, dependencies they themselves have, etc).
For Firefox the external dependency is an app starting Firefox in a certain mode (--marionette
flag), setting up a temporary profile (damn damn damn slow and inefficient and making my system swap, but can be disabled) and translating between WebDriver and marionette. But one can use marionette protocol directly (it is a socket + JSON, the lib in rust implementing it is available), but this defeats the purpose of using WebDriver.
from tabfs.
Thanks for the report. I'm going to close this for now, since I don't think we will adopt it, but I think this page will be a useful resource if this question comes up in future; appreciate you bringing it up.
from tabfs.
I spent a while looking up WebDriver just now, and… I still basically have no idea what it is or how the user experience or installation process works.
But I will say that these are some red lines I have, and it seems like WebDriver (or implementations of it, or whatever) may violate them:
-
I prefer not to add any more dependencies (third-party client library, browser extension stub, programming languages that those are written in, dependencies they themselves have, etc).
-
I prefer not to have extra abstraction layers between us and the browser. By using the extension APIs, we can do whatever the browser lets us do (can you even manage tabs and windows in WebDriver? it looks like it's meant for automation of an individual page. what about browser history? persistent storage?), we can fix anything that goes wrong ourselves, and we don't need to hack around limitations in tooling. (If we need to have special cases for Firefox or Safari, so be it -- I'd rather do that than involve an extra third-party layer)
-
TabFS needs to work with the browser you already have running; it can't require that you start up the browser in a special mode, or use a headless browser, or anything like that.
from tabfs.
Related Issues (20)
- Extension removes itself from Chrome
- RSS content ?
- Support for Firefox Multi-Account Containers
- Setup with flathub/org.chromium.Chromium on Linux
- Move tabs between windows? HOT 2
- touch evals/script.js to evaluate it again
- Set of words in text.txt files for autocomplete
- "Level 2 not synchronized" HOT 6
- Running on multiple profiles
- How to get text/body content when in Reader mode? (firefox)
- [Feature Request] Headers
- Document how to use TABFS_MOUNT_DIR HOT 1
- not able to access debugger folder HOT 2
- Which tabs are playing music? HOT 1
- Idea: Use in-browser WebAssembly to emulate a unix system to use TabFS HOT 2
- Upgrading to Manifest v3
- Non-existent tabs under 'by-id' HOT 1
- Manifest file is missing or unreadable
- maybe the symbolic link implementation for fusefs is not correct?
- Can't see or delete some watches files
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 tabfs.