Skip to content

Instantly share code, notes, and snippets.

@cmin764
Created June 29, 2022 06:19
Show Gist options
  • Select an option

  • Save cmin764/4ed2005b4492cfd4b3d906548a9e5490 to your computer and use it in GitHub Desktop.

Select an option

Save cmin764/4ed2005b4492cfd4b3d906548a9e5490 to your computer and use it in GitHub Desktop.
Using appiumlibrary alongside RPA Framework (in relation to selenium)
% pip freeze | grep -i selenium               
robotframework-seleniumlibrary @ file:///Users/cmin/Library/Caches/pypoetry/artifacts/b1/57/94/bb35cafa65b24ed0378ebaade663b9ac63fc4db9cc9173e2b1b4ee41e9/robotframework_seleniumlibrary-5.1.3-py2.py3-none-any.whl
robotframework-seleniumtestability @ file:///Users/cmin/Library/Caches/pypoetry/artifacts/1f/7b/3c/cf3ae78bb6770234e375545966d30de0025b803f8e530f6dca45c724e6/robotframework-seleniumtestability-1.1.0.tar.gz
selenium @ file:///Users/cmin/Library/Caches/pypoetry/artifacts/83/ce/32/1d42f26ac715da9125b7ad16b60919809cbb53dbb6a50cf32739198500/selenium-3.141.0-py2.py3-none-any.whl

 % pip freeze | grep -i appium  
Appium-Python-Client==1.3.0
robotframework-appiumlibrary==1.6.3

Compatible versions:

  • rpaframework: 15.1.4
  • seleniumlibrary: 5.1.3
  • appiumlibrary: 1.6.3
  • selenium: 3.141.0 (< 4)

Importing works:

% python -c "from AppiumLibrary import AppiumLibrary"

And there's no such selenium.webdriver.common.options under this setup:

% pwd
/Users/cmin/Repos/rpaframework/.venv/lib/python3.9/site-packages/AppiumLibrary

% grep -rni "selenium" * | grep -i import
keywords/_android_utils.py:5:from selenium.common.exceptions import TimeoutException
keywords/_element.py:8:from selenium.webdriver.remote.webelement import WebElement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment