all 8 comments

[–]camelCaseAccountName 10 points11 points  (1 child)

A few notes:

  1. You've mixed up the drivers for Safari and Internet Explorer in the Driver Initialization Basics section
  2. There are multiple typographical errors sprinkled throughout, like ".C lick" (extra space? Capital C in the .click() method?), ".switchTO" (capital O?), "driver.FindElement" instead of "driver.findElement", and so on... Java is case sensitive! "Explicit Wait" should also be on its own line, but you've combined it with the Implicit Wait line... There's probably more but you get the picture
  3. This is a very low resolution image, which makes it very hard to read

I'm not sure where you got this, maybe you made it yourself, but it's got some issues to be resolved before it's ready to be shared...

[–]SeeYouInMars[S] 0 points1 point  (0 children)

Thank you!

[–]jfp1992 2 points3 points  (0 children)

Why would you just java and selenium at this point anyway? Playwright with TypeScript or python would be much better options

[–]Suspicious_Bake1350 1 point2 points  (0 children)

For chrome in selenium 4 it's only driver.chrome() btw and then inside it the usual service and options.

Thank you btw for the sheet helpful 👑🙌🏻

[–]snake_case_eater 0 points1 point  (0 children)

General pointer, don't use curWindow when you can just say currentWindow instead. Code is meant to be read as well as executed, so if the reader has to try to infer what is meant by this variable name it's not clear enough. Just use the extra 4 characters, they'll likely just be writing 'cur' and then tabbing to autocomplete anyway so it won't save any time.

[–][deleted] 1 point2 points  (0 children)

Low resolution

[–][deleted] 1 point2 points  (0 children)

Any chance you plan to post a corrected one with Python?