Comments (4)
This depends on the tools you are using. Different tools have different ways to go about things. Since this is a server image, there's no real screen or monitor but you can change the virtualized window size. For example, if you were using Selenium (pre-installed) and Firefox, this Doc shows the setting you'd want to change: https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/firefox_exports_Options.html#windowSize
from cimg-node.
Thank you, I'm using Testcafe which uses this method (https://testcafe.io/documentation/402696/reference/test-api/testcontroller/maximizewindow#header) in combination with the cimg-node, google chorme and browser-tools. I am getting this warning when tests finish.
Warnings (1):
--
Was unable to maximize the window due to an error.
The
/home/circleci/bold/qa/node_modules/testcafe-browser-tools/bin/linux/glibc-64/maximize
process failed with the null exit code.
Here is the job config:
<job-name>:
working_directory: <some-path>
docker:
- image: cimg/node:lts-browsers
resource_class: medium+
steps:
- checkout:
path: <some-path>
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- node/install-packages
- run:
from cimg-node.
@avilano I can only presume that this is an issue with testcafe at this point. I don't have any experience with it, but with selenium running driver.manage().window().setRect({width: 3840, height: 2160, x: 0, y: 0});
for example works perfectly fine.
Here is a screenshot from the test running in CircleCI using cimg/node:lts-browsers
:
from cimg-node.
I'm going to close this issue as it doesn't appear to be directly tied to the image as I was able to set the window size as above. Please feel free to reopen this if required.
from cimg-node.
Related Issues (20)
- Latest version of image run out of memory HOT 2
- Recent versions of image cause jest to fail HOT 1
- permissions on node 16:17 HOT 1
- Using the image in other CI tools HOT 3
- shallow checkout HOT 5
- /home/circleci/.local/bin is in path but doesnโt exist by default HOT 2
- Can you create this image please? HOT 1
- Publish major version (only) tag pointing at the latest build for a major node version HOT 1
- Base Ubuntu version changing HOT 2
- cimg/node:16.18 & cimg/node:16.19: "Mongod instance closed with code \"127\"" was thrown, throw an Error :) HOT 2
- Migrating from circleci/node:16.13-browsers to cimg/node:16-13 HOT 2
- Feature Request: Update open JDK to the next LTS HOT 4
- Feature Request: Include Bun (bun install) HOT 1
- Bug Report: Missing Node.js 20.6.1 release
- Feature Request: cimg/node browsers arm64 support HOT 2
- Bug Report: wrong LTS version HOT 3
- Feature Request: Update open JDK in -browsers image to the next LTS (17)
- Bug Report: automated-wf is broken
- Feature Request: variant with browsers and test drivers preinstalled
- Feature Request: February Node security releases HOT 4
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 cimg-node.