python-client
python-client copied to clipboard
How to give an existing SessionID when an object is instantiated so that it will not apply for a new SessionID?
The problem
I have a test scenario. I need to use Java and Python to test appium on a device. Java has applied for a SessionID, and Python cannot apply again, but Python does not apply for a SessionID and cannot get a driver object
Environment
- Appium version (or git revision) that exhibits the issue:
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium:
- Node.js version (unless using Appium.app|exe):
- Mobile platform/version under test:
- Real device or emulator/simulator:
- Appium CLI or Appium.app|exe:
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium Logs
Code To reproduce issue
self.c = webdriver.Remote(command_executor = self.adb_remote_url + "/wd/hub", desired_capabilities=self.desired_caps) self.c.session_id = self.session_id
Perhaps this lib does not have the ability if the base selenium client did not have the feature