fix error in python example

Fixes Issue #6917
add comma

Fixes Issue #6806
updating WebDriver browser compatibility

Fixes Issue #6409