Comments (9)
You could try novnc with different settings and say what combination of settings is good for you. You can connect to vnc via novnc with pwd selenoid
, and path /vnc/<session-id>
on selenoid directly
from selenoid-ui.
I'm not sure what you are trying to say. I'm pointing out to not efficient viewport distribution. Cannot come up with reasons why don't you show a browser in full width.
from selenoid-ui.
UI simply does nothing with browser width and viewport distribution. By default - xfvb screen greater than browser window, so some black space for UI - still the screen of your session (red arrows) - and can't be distinguished from browser window. We use NOVNC under the hood which has some options to crop the viewport. You can try this options in the original novnc client.
Also, you can try to tune xfvb in the container or the browser resolution with screenResolution
capability.
For now, UI just tries to fit the whole vnc screen in external viewport by longest side (You can see div elements edges in inspector). Personally, I don't think scrolls is a good idea in vnc.
from selenoid-ui.
So the proposal is to fit by width and align to center if width lesser than external viewport.
Ok, accepted, will think on how to do it
from selenoid-ui.
If #97 is a duplicate, then this is not improvement. It is a bug. Because maximization feature does not work.
from selenoid-ui.
Hi, @lanwen @vania-pooh! Do we have any solutions for this? Still have error "Canvas not supported." and can't maximize window (Firefox 56, Chrome 64)
from selenoid-ui.
@aemelyan maximizing browser windows inside containers is not supported because of missing window manager. As a workaround you are expected to use something like this in your tests:
driver.manage().window().setSize(new Dimension(1920, 1080)); // Java code
This issue is about Selenoid UI layout.
from selenoid-ui.
@vania-pooh thank you for a quick answer! I believe that my issue a little bit different. I don't use maximizing during test run, instead i set size to browser directly as you show. But when i open VNC on selenoid UI and try to open fullscreen mode, canvas element size is only 1120x630 instead of expected 1920x1080. Here is html - <canvas width="1920" height="1080" style="width: 1120px; height: 630px; cursor: default;">Canvas not supported.</canvas>
. I use Chrome 64 that should support canvas. I believe that my issue similar to #97. Any thoughts?
from selenoid-ui.
All the drawings are made by js, you won't see anything in html. Issue should be fixed with some tune of novnc
from selenoid-ui.
Related Issues (20)
- Running ui with parallel images will crash HOT 1
- VNC to MAC machine fails with Incompatible Version error HOT 4
- Helm chart is not working. HOT 2
- paging HOT 1
- Is mobile automation requires appium?[need info] HOT 1
- PlatformName is required for MicrosoftEdge HOT 5
- restrict access HOT 2
- Сhanging the xterm content in the user interface HOT 3
- restrict access via htpasswd not working HOT 2
- Is it possible somehow to run Safari on Windows/Linux? HOT 11
- Bug in or how to use copy and paste feature HOT 16
- When one video file does not have a point other videos can not display HOT 1
- https support in docker container HOT 2
- Starting manual session on selenoid-ui fails after restricting access to selenoid ui. HOT 10
- Test name is not displayed on UI HOT 4
- Copy File layer Vulnerability HOT 3
- Doesn't work on M1 HOT 3
- [Proposal] Selenoid/ggr UI should provide notifications for updates available for themselves and browser images HOT 4
- Showing wrong number of sessions when using with ggr and ggr-ui HOT 2
- Selenoid UI goes down intermittently on SLES 15 SP4 VM but container stays up and no discrepancy found in logs. HOT 2
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 selenoid-ui.