Comments (8)
Could very well be — I've lost the context on this in the intervening years 😅
from fantoccini.
See also d2843b0
from fantoccini.
AFAICT there are no such commands as the spec only lists SetWindowRect
and GetWindowRect
.
from fantoccini.
Yeah, the spec only has those, but to be helpful there are a couple of places where we fall back to the original Selenium protocol (this is what the legacy
field is for).
from fantoccini.
Oh I see, I did not understand previously. Sounds easy enough.
from fantoccini.
It looks like there are also some test failures in Chrome on macOS: https://travis-ci.org/jonhoo/fantoccini/jobs/378871411#L873. My guess is that it's related to the window decorations causing an offset in the returned values (see https://github.com/SeleniumHQ/selenium/blob/6103ef6c923ea43c71779be9a05cc3a6248d1b53/javascript/node/selenium-webdriver/test/window_test.js#L125)
from fantoccini.
Sadly these tests also fail when running on a machine with a tiling window manager :(
from fantoccini.
@jonhoo I'm running into this with thirtyfour
now. I notice the relevant tests are marked as ignored for now. It seems chromedriver
returns only the width and height in this situation, which to my reading goes against the spec. Is this actually a bug in chromedriver
on MacOS? I'm happy to raise an issue there given that it's quite easy to reproduce.
I'll probably mask the test failure in thirtyfour
for now.
from fantoccini.
Related Issues (20)
- SessionNotCreated error on second run with fantoccini and geckodriver HOT 1
- How to specify options for webdriver? HOT 1
- An error occurs in the IE mode of the Edge browser. HOT 2
- Testing of client&server-side Rust interaction HOT 1
- returning Prototype.Array shows in console.log but nothing from println. HOT 1
- Can you automate the geckodriver session initialization? HOT 2
- Please add Network Request Interception HOT 1
- Get console log messages HOT 1
- webdriver might be part of public API HOT 1
- WheelActions needed HOT 2
- Any blockers for 0.20? HOT 1
- wait_* methods deprecated with no alternative HOT 2
- Any suggested pattern for closing the Client on test failure? HOT 4
- How can I use it with no display? HOT 1
- scrollIntoView HOT 2
- incomplete attr HOT 1
- Panic when webdriver could not be reached HOT 1
- chrome fails to change browser name HOT 1
- Please help, can't run chrome browser HOT 1
- Errors related to the request to open cookies
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 fantoccini.