Comments (14)
OK. I will try to upgrade wdio in w2d. Last time I tried there was some new internal dependency on Node.js that made it impossible.
from appium-inspector.
Well, it required adding a whole different request library to webdriverio for web, then it was able to be bundled and we could update w2d.
from appium-inspector.
Worked with disabling restrict ssl.
https://github.com/webdriverio/webdriverio/blob/e34108325ef1e0d2b8e2306fe407b5d934169777/packages/webdriver/src/request.ts#L123
It seems Electron's process.env is not the webdriverio's process.env...
So, we probably should give the flag over arguments, or we should find a way to give Electron's process.env to them.
Probably give strictSSL
option to Web2Driver.attachToSession or Web2Driver.remote as serverOpts
from appium-inspector.
note: fixing this issue now.
https://github.com/webdriverio/webdriverio/compare/master...KazuCocoa:add-strictssl-as-options?expand=1
This may fix this issue to set strictSSL false on Electron apps
from appium-inspector.
Created a PR to webdriverio. Once the option will be available, then this blocking issue will be resolved.
Then, we can push a new beta to share this with other vendors to check their features after web2driver update and view splitting.
from appium-inspector.
what's the status here? do we need to update w2d with latest wdio changes?
from appium-inspector.
Yes, we need a newer webdriverio which has webdriverio/webdriverio#6134 to give SSL option for Electron environment.
Or if we can find a way to set environment variables for libraries on Electron environment, it will be an alternative. process.env
in Electron environment was different in main modules and libraries when I dug it int before. (So needed such option)
from appium-inspector.
π
thanks
from appium-inspector.
well, i tried to update webpack and got lost in a black hole of things not working. still gonna keep working on this but can't do it immediately
from appium-inspector.
Do you think if we can fork webdriverio to our appium repository, add the webdriverio/webdriverio#6134 in the fork, and build the fork as part of web2driver as a tentative solution for this inspector?
from appium-inspector.
It could be. The issues I'm having right now are related to Webpack though and not WDIO. So once I get bundling straightened out I may be able to simply pull the latest WDIO and have it work. We'll see.
from appium-inspector.
@KazuCocoa can you re-check to see if this issue still persists with all the recent changes?
from appium-inspector.
ok, will check
from appium-inspector.
Yes, 2021.8.5 no longer has this issue. π
So, webpack update fixed this...? (To up to date the webdriverio)
from appium-inspector.
Related Issues (20)
- Appium inspector: Unable to inspect an element HOT 2
- XPath as a locator coming in recorded script HOT 4
- "t is not a function" error on latest release HOT 1
- After clicking refresh button on Appium inspector it remains in the loading state for a long time HOT 3
- Could not find a driver for automationName βWindowsβ` HOT 10
- bug: improve translateRecursively performance HOT 9
- [Session] Failed to get Session ID when start the session HOT 3
- bug: Failed to create session. An unknown server-side error occurred while processing the command. HOT 12
- bug: <Cannot use AppiumBy.ID even though it is suggested from Appium Inspector> HOT 6
- Unable to open application on mac HOT 1
- Please report this issue at: https://github.com/appium/appium-inspector/issues/new/choose Full error trace: TypeError: t is not a function HOT 2
- feature request: Selected Element Find By xpath HOT 11
- bug: Inspector hangs and app freezes as soon as session begins HOT 13
- feature request: Linux arm64 version HOT 6
- bug: Inspector does not open. HOT 2
- Report do instalador windows HOT 2
- bug: "Gathering initial app sourceβ¦" HOT 9
- bug: When pressing Refresh Source & Screenshot real device becomes unresponsive and times out. HOT 11
- feature request: When copying an accessibility ID that contains a newline, please use "\n" instead of the actual newline character. This will make it easier to paste the ID directly into code. HOT 5
- chore: replace Parcel with Vite HOT 9
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 appium-inspector.