|
|
|
|
|
|
|
|
openTestURL(); |
|
|
openTestURL(); |
|
|
// Open colorPicker |
|
|
// Open colorPicker |
|
|
findElement(By.className("v-button-v-colorpicker ")).click(); |
|
|
findElement(By.className("v-button-v-colorpicker ")).click(); |
|
|
sleep(500); |
|
|
|
|
|
|
|
|
sleep(2000); |
|
|
// click somewhere inside the gradient layer |
|
|
// click somewhere inside the gradient layer |
|
|
findElement(By.className("v-colorpicker-gradient-clicklayer")).click(); |
|
|
findElement(By.className("v-colorpicker-gradient-clicklayer")).click(); |
|
|
// confirm selection by clicking "OK" button |
|
|
// confirm selection by clicking "OK" button |