DeviceFarm.Client.
get_test_grid_session
(**kwargs)¶A session is an instance of a browser created through a RemoteWebDriver
with the URL from CreateTestGridUrlResult$url. You can use the following to look up sessions:
See also: AWS API Documentation
Request Syntax
response = client.get_test_grid_session(
projectArn='string',
sessionId='string',
sessionArn='string'
)
dict
Response Syntax
{
'testGridSession': {
'arn': 'string',
'status': 'ACTIVE'|'CLOSED'|'ERRORED',
'created': datetime(2015, 1, 1),
'ended': datetime(2015, 1, 1),
'billingMinutes': 123.0,
'seleniumProperties': 'string'
}
}
Response Structure
(dict) --
testGridSession (dict) --
The TestGridSession that was requested.
arn (string) --
The ARN of the session.
status (string) --
The state of the session.
created (datetime) --
The time that the session was started.
ended (datetime) --
The time the session ended.
billingMinutes (float) --
The number of billed minutes that were used for this session.
seleniumProperties (string) --
A JSON object of options and parameters passed to the Selenium WebDriver.
Exceptions
DeviceFarm.Client.exceptions.NotFoundException
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.InternalServiceException