????UI??????????????

??????????????????????????????????????Ч?????UI???????????棬selenium????????????????????????????????????????????????????????????????????Щ????????ν?????????????????????????????????????????????????????????????selenium????????????????????鰱????????飬????????????????

????????????????????鯔???????????????????????????????????????????????????????????????????????????????????????????????????????????ж????????????????????????????????????????????bug???????????????????????????????????????????????????selenium??????????????????????????selenium?????????????????????????????????????????????????????????·??????????????????????????????棬??ν??????????????????????λ????????????????ж????????????????顣

?????????????

????????????????б??????????????????????У????????Щ?????????????????????????????????????????????????????????Щ????????????????????в?????????????????????????????????????Щ??????????????????????????????????????úù?????Щ??????????????????????????selenium?У??????????????λ???????????????????????λ?ú??С???????????????????Щ?????????????????????????

???????????

?????????????????????????????????????????????????????RGB???????????????ɡ????????????У??????????????????????????????RGB???????У??????8bit???洢RGB?????????????24bit??32bit????????????в?????????????????????????洢?????????32bit???????24bit???????????棬??λ?????????????RGB???????????в???????????????????????????????????????????????л????в????????????????????з????κα仯????п????????????????????????????????????LAB??????б???????????????????????豸???????????RGB?????LAB????????Щ??????м??????????????????

???????selenium?????????????

????????????????£?

????1??????????????????????????????????????????????

????2????????е????????????????б??

????3????????????£???????????????????????£?????????????

?????????????????????LAB????м???????????????????????????????????????????????????????????е???????????????????????????????????????????????????У????????????????????

????????????????WebDriver??????????飬???????????????xpath????????????type.properties?????ò??????????????????????????????????

?????????趨???????????£??????????????TAB????