question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

need to document env var approach to driver install params in 2.0 migration guide

See original GitHub issue

Is the chromedriver part of the uiautomator2 driver ? In the past it was possible to add the --chromedriver-skip-install flag to the npm installation. This is currently also possible when i install appium with npm install appium@next --chromedriver-skip-install --drivers=uiautomator2

But its not possible if i want to install via appium driver install uiautomator2

Would it be possible to add the flag there also ?

_Originally posted by @StephanB75 in https://github.com/appium/appium/discussions/15812#discussioncomment-1299645_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jlippscommented, Sep 9, 2021

I think it’s a different issue. --chromedriver-skip-install is not a driver CLI arg, it gets wrapped up into process.env automatically by NPM (NPM has special support for using custom flags during npm install).

I think the unfortunate reality here is that we won’t be able to support these flags, since we are abstracting away from NPM. I think we’ll need to rely on and document an environment-variable based approach (which in this case is already supported, as @KazuCocoa mentioned in #15812).

0reactions
StephanB75commented, Sep 10, 2021

yes the environment variable “APPIUM_SKIP_CHROMEDRIVER_INSTALL=true” works for both perfectly. Thank you for the tip !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Environment Variables — NCCL 2.16.2 documentation
NCCL has an extensive set of environment variables to tune for specific usage. ... algorithm and may use all interfaces matching the manual...
Read more >
Environment variables — conan 1.56.0 documentation
These are the environment variables used to customize Conan. ... settings and options into CMake parameters, but you can easily do it yourself,...
Read more >
Introduction to environment variables - CircleCI
Use environment variables to set up various configuration options, and keep your set-up secure with secrets, private keys, and contexts.
Read more >
Installing or updating the latest version of the AWS CLI
This topic describes how to install or update the latest release of the AWS Command Line Interface (AWS CLI) on supported operating systems....
Read more >
SAP HANA Server Installation and Update Guide
Use LCM Configuration Files to Enter Parameters. ... A host is the operating environment in which the SAP HANA database runs.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found