Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

chrome-launcher + spelling fixes + docs #120

Merged
merged 4 commits into from
Aug 1, 2017
Merged

chrome-launcher + spelling fixes + docs #120

merged 4 commits into from
Aug 1, 2017

Conversation

joelgriffith
Copy link
Contributor

Makes it so consumers can just have chrome launch automatically without starting it themselves (though they can still launch manually if they prefer).

@@ -21,11 +21,11 @@ import {
export default class LocalRuntime {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are mostly spelling fixes

@@ -39,7 +55,7 @@ export default class LocalChrome implements Chrome {
fitWindow: false, // as we cannot resize the window, `fitWindow: false` is needed in order for the viewport to be resizable
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a bug waiting for us 😄

@@ -53,7 +53,7 @@ export async function wait(timeout: number): Promise<void> {
export async function nodeExists(client: Client, selector: string): Promise<boolean> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change here for brevity (also it didn't work?)

@joelgriffith
Copy link
Contributor Author

Not sure how we're booting chrome in aws... might need to alter that script now that chromeless will try and boot chrome automatically

Copy link
Collaborator

@adieuadieu adieuadieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joelgriffith Nice!

Could you add launchChrome: false in the run handler so that Chromeless doesn't try to spawn Chrome? Headless Chrome is already running by the time we call the LocalChrome constructor.

Oh! And don't forget to update the CHANGELOG—this enhancement probably counts as a notable change.

Copy link
Collaborator

@adieuadieu adieuadieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joelgriffith looks good to me (other than the merge conflicts again 👀 )

@timsuchanek can you take a look too, so that we have 2 sign-offs?

@joelgriffith joelgriffith merged commit f573219 into schickling:master Aug 1, 2017
@mafshin
Copy link

mafshin commented Aug 6, 2017

I get Error: No Chrome Installations Found if I install 64 bit version which installs itself int AppData

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants