get_test_grid_session
async
¶
get_test_grid_session(
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
project_arn: Optional[DeviceFarmArn] = None,
session_id: Optional[ResourceId] = None,
session_arn: Optional[DeviceFarmArn] = None,
) -> GetTestGridSessionResult
A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResult. You can use the following to look up sessions:
-
The session ARN.
-
The project ARN and a session ID.
Parameters:
-
project_arn(Optional[DeviceFarmArn], default:None) –The ARN for the project that this session belongs to. See CreateTestGridProject and ListTestGridProjects.
-
session_id(Optional[ResourceId], default:None) –An ID associated with this session.
-
session_arn(Optional[DeviceFarmArn], default:None) –An ARN that uniquely identifies a TestGridSession.
Raises:
-
ArgumentException–An invalid argument was specified.
-
InternalServiceException–An internal exception was raised in the service. Contact [email protected] if you see this error.
-
NotFoundException–The specified entity was not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
|