payroll page mapping finished

This commit is contained in:
hysn99
2024-04-03 15:07:22 +03:00
parent a415c8ad92
commit 055ac013f9
6 changed files with 209 additions and 366 deletions

View File

@@ -62,6 +62,10 @@ func FillInput(frm *rod.Page, selector string, value string) error {
func ClickItem(frm *rod.Page, selector string, clickCount int) error {
// Sayfadan ilgili öğeyi bul
el, err := frm.Element(selector)
err = el.WaitLoad()
if err != nil {
return err
}
err = el.Click(proto.InputMouseButtonLeft, clickCount)
return err
}