-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a web driver tunnel #73
base: master
Are you sure you want to change the base?
Create a web driver tunnel #73
Conversation
To do list:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, I just had a few suggestions and comments
src/WebDriverProxy.ts
Outdated
@@ -0,0 +1,297 @@ | |||
import * as express from 'express'; | |||
import * as request from 'request'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use request
from @theintern/common
since that's already a dep?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have to refactor my proxying function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored the code to use request
from @theintern/common
. I created a PR, theintern/common#4, for a small change to common.
package.json
Outdated
@@ -18,6 +18,7 @@ | |||
"@theintern/dev": "~0.9.0", | |||
"@types/decompress": "~4.2.2", | |||
"@types/node": "~9.6.11", | |||
"@types/request": "^2.48.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably don't need this anymore
e99e90e
to
5f12312
Compare
1f9f612
to
2a145c2
Compare
2a145c2
to
7ef2c94
Compare
This PR creates a new Intern tunnel that runs the various browsers' web driver servers without using Selenium or Java.
Fixes #54