MCPcopy
hub / github.com/loks666/get_jobs / click

Method click

src/main/java/utils/SeleniumUtil.java:162–168  ·  view source on GitHub ↗
(By by)

Source from the content-addressed store, hash-verified

160 }
161
162 public static void click(By by) {
163 try {
164 CHROME_DRIVER.findElement(by).click();
165 } catch (Exception e) {
166 log.error("click element:{}", by, e);
167 }
168 }
169
170 public static boolean isCookieValid(String cookiePath) {
171 return Files.exists(Paths.get(cookiePath));

Callers 12

scanLoginMethod · 0.95
resumeMethod · 0.80
pageMethod · 0.80
inputLoginMethod · 0.80
submitMethod · 0.80
submitJobMethod · 0.80
submitMethod · 0.80
tryClickMethod · 0.80
newTabMethod · 0.80
submitJobsMethod · 0.80
scanLoginMethod · 0.80
resumeSubmissionMethod · 0.80

Calls 1

findElementMethod · 0.80

Tested by

no test coverage detected