How make script to check if the link exists or if it is 404 if it is 404, then click the appropriate button

Waldes93

Новичок
Регистрация
28.09.2019
Сообщения
16
Благодарностей
1
Баллы
3
I need help, I want to write a script to check if the link exists or if it is 404 if it is 404, then click the appropriate button. Every time I want him to clean the cache. How to do it fastest? i think the fastest way is it C#, Could someone help me?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 799
Благодарностей
1 187
Баллы
113
Hello. If You mean checking page Status code then You can do that with HTTP requests and then check status code in headers.
 

Waldes93

Новичок
Регистрация
28.09.2019
Сообщения
16
Благодарностей
1
Баллы
3
Thanks
 
Последнее редактирование:

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 799
Благодарностей
1 187
Баллы
113

Waldes93

Новичок
Регистрация
28.09.2019
Сообщения
16
Благодарностей
1
Баллы
3
Could you give me ur skype? or pm me?
 

Waldes93

Новичок
Регистрация
28.09.2019
Сообщения
16
Благодарностей
1
Баллы
3
ok now its solved. Please delete this thread
 

ibred

Client
Регистрация
04.04.2015
Сообщения
3 835
Благодарностей
3 551
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)