Platform function ( WebDriver arg0 ) { if ( ! ( arg0 instanceof HasCapabilities ) ) { throw new RuntimeException ( "srini_string" ) ; } Capabilities loc0 = ( ( HasCapabilities ) arg0 ) . getCapabilities ( ) ; return loc0 . getPlatform ( ) ; }
returns platform where the browser driven by given webdriver runs on . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isFirefox concode_elem_sep int getFirefoxVersion concode_elem_sep boolean isNativeEventsEnabled concode_elem_sep String getUserAgent concode_elem_sep boolean isInternetExplorer concode_elem_sep int getIEVersion concode_elem_sep boolean isIe7 concode_elem_sep boolean isIe6 concode_elem_sep boolean isOldIe concode_elem_sep boolean isOldChromedriver concode_elem_sep boolean isChrome concode_elem_sep boolean isLocal