Skip to content
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

Can't run tests using 'appium:rcMode': 'js', #710

Open
mlopezuno opened this issue Mar 4, 2025 · 1 comment
Open

Can't run tests using 'appium:rcMode': 'js', #710

mlopezuno opened this issue Mar 4, 2025 · 1 comment

Comments

@mlopezuno
Copy link

mlopezuno commented Mar 4, 2025

Hi, I have my capabilities as below and when it's time for the test to run, I get stuck in this:
[2] [f497af60][TizenTVDriver] Running command: /path-to-my-sdb-tools/tizen-studio/tools/sdb -s :26101 shell 0 debug

It will retry a few times, get the same as above and eventually time out.

capabilities: [
    {
        platformName: 'TizenTV',
        'appium:automationName': 'TizenTV',
        'appium:deviceName': '<my-ip>:26101',
        'appium:showChromedriverLog': true,
        'appium:chromedriverExecutableDir': 'chromedriver/chromedriverAutoDownload',
        'appium:appPackage': <app-package-name>',
        'appium:rcMode': 'js'
        'appium:rcToken': '15516828',
  }]

I found that adding/changing this to my capabilities will work:

        'appium:rcMode': 'remote',
        'appium:rcOnly': true,

However since I want to use chromedriver, I want to use 'js'. Is there any advice on why this might be happening or if I'm missing some setting to use 'js'? Thank in advance.

@mperotti22
Copy link

I'm using chromedriver and the remote at the same time. Some tests look for elements via a selector and click or getText for example through webdriver and some use the remote to select and click elements on the screen.

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

No branches or pull requests

2 participants