The capabilities property is a dictionary containing information about the browser itself, so this should work:
print(driver.capabilities['version'])
The capabilities property is a dictionary containing information about the browser itself, so this should work:
print(driver.capabilities['version'])