mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-21 06:30:49 -06:00
* misc: replace marionette-client with geckodriver as b2g marionette client is no longer supported [run ci] * install pump [run ci] * refactor to have geckodriver launch the browser and split out webdriver to own class [run ci] fix other failing tests [run ci] fix other failing tests [run ci] pass env variables to firefox * fix sigkill / treekill issues on windows with firefox binary being a dangling process [run ci] * fix issue where browser in headed mode was not starting maximized [run ci] * stub firefox_spec added deps different to get type inference * add comment to geckodriver patch * move capabilities to verbose debug statement * update changelog * address comments from code review * add pending for changelog * update with suggestions from code review * remove debug enable as the process needs to be bound to stderr and stdout * add comment on why we need to bind * add comments from code review * address comments from code review * make sure sessionId is set
Launcher
This package finds and launches browsers for each operating system.
Developing
The TypeScript source files are in lib folder.
To see browsers detected on your machine, just run:
node index.js
You can supply a list of binaries to test if they're browsers or not. Try running:
node index.js /bin/bash /usr/bin/chromium-browser
Testing
yarn workspace @packages/launcher test
Debugging
Uses debug to output debug log messages. To turn on, use
DEBUG=cypress:launcher:* yarn workspace @packages/launcher test
Verbose messages, including detailed stdout, are available under cypress-verbose:launcher:*.