Answer the question
In order to leave comments, you need to log in
Why does an error occur when running GeckoFX + SocketIoClientDotNet?
1. I connect to the socket.io server on node js (everything goes. I need this to allow the server to run the form with the browser)
2. The GeckoFX browser loads and opens the page.
3. I need to know by the "message" event whether there is a block with a certain id on the page
{
................какой то код............
socket.On("message",()=>Gerr(_webBrowser)); //пробовал и без передачи браузера
}
public void Gerr(GeckoWebBrowser wb)
{
var grr = wb.Document.GetElementById("idm"); //тут вылетает исключение
.......................
}
wb.Navigate("https://yandex.ru");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question