fehlerhafte url war hinterlegtr. Diente zur Debug

This commit is contained in:
2023-08-18 15:41:24 +02:00
parent 81ed7ae8d1
commit b0e27caf9f

View File

@@ -94,8 +94,8 @@ namespace CardmarketBot
//if (id != "1121844928") continue;
//Console.WriteLine(id);
//id = "1121395158";
cd.Navigate().GoToUrl(string.Format(@"https://www.cardmarket.com/de/OnePiece/Orders/1121395158", id));
//cd.Navigate().GoToUrl(string.Format(@"https://www.cardmarket.com/de/OnePiece/Orders/{0}", id));
//cd.Navigate().GoToUrl(string.Format(@"https://www.cardmarket.com/de/OnePiece/Orders/1121395158", id));
cd.Navigate().GoToUrl(string.Format(@"https://www.cardmarket.com/de/OnePiece/Orders/{0}", id));
element = cd.FindElement(By.XPath("/html/body/main/section/div/div[1]/div/div[3]/div[2]/div[2]/div/div"));
Kunde kunde = Helper.ConvertToKunde(element.Text);