Witam, tworzę teraz program do olxa i niestety nie moge znalezc xpath przycisku wyloguj na olxie. Probowalem juz naprawde wiele rzeczy ale nadal nie mam zadnego rozwiazania. Bede wdzieczny za kazda pomoc.

 private void button1_Click(object sender, EventArgs e)
        {
            string url = textBox1.Text;
            driver.Navigate().GoToUrl(url); Thread.Sleep(2000);

            driver.FindElement(By.XPath("//button[@id='onetrust-accept-btn-handler']")).Click(); Thread.Sleep(3000);

            driver.FindElement(By.XPath("//a[normalize-space()='Mój OLX']")).Click(); Thread.Sleep(2000); 

            driver.FindElement(By.XPath("//section[@class='login-page has-animation']//input[@id='userEmail']")).SendKeys("[email protected]"); Thread.Sleep(3000);

            driver.FindElement(By.XPath("//input[@id='userPass']")).SendKeys("haslo");

            driver.FindElement(By.XPath("//section[@class='login-page has-animation']//button[@id='se_userLogin']")).Click(); Thread.Sleep(3000);

            WebElement ele = (WebElement)driver.FindElement(By.XPath("//div[@class='css-1povu0j']")); Thread.Sleep(10000);
            Actions action = new Actions(driver);
            action.MoveToElement(ele).Perform();
            Thread.Sleep(5000);
            driver.FindElement(By.XPath("//span//a[text()='Wyloguj']")).Click();
         


        }