1ErrorCodes errorCodes = new ErrorCodes();2Map<String, Integer> errorCodesMap = errorCodes.getErrorCodes();3System.out.println(errorCodesMap);4System.out.println(errorCodes.getErrorCode("Unable to find element"));5System.out.println(errorCodes.getErrorMessage(7));6{no such element=7, no such frame=8, unknown command=9, stale element reference=10, element not visible=11, invalid element state=12, unknown error=13, element is not selectable=15, javascript error=17, xpath lookup error=19, timeout=21, no such window=23, invalid cookie domain=24, unable to set cookie=25, unexpected alert open=26, no alert open=27, script timeout=28, invalid element coordinates=29, invalid selector=32, session not created=33, move target out of bounds=34, no such document=35, invalid argument=61, invalid session id=62, no such alert=27, no such element=7, no such frame=8, no such window=23, no such document=35, invalid cookie domain=24, unable to set cookie=25, unexpected alert open=26, no alert open=27, script timeout=28, invalid element coordinates=29, invalid element state=12, invalid selector=32, invalid session id=62, invalid xpath selector=19, invalid xpath selector return type=51, method not allowed=405, move target out of bounds=34, no such collection=8, no such cookie=22, no such element=7, no such frame=8, no such window=23, no such document=35, script timeout=28, session not created=33, stale element reference=10, timeout=21, unable to set cookie=25, unexpected alert open=26, unknown command=9, unknown error=13, unknown method=9, unsupported operation=405}