You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when I execute the code below the parameter "contents" from the function "addResponseFilter" comes null and I can't set the content to mock the request (seems that when I try to call "setTextContents" with a null contents object the excutuion get out of the loop of addResponseFilter.
Generaly it works at first run of the day or right after open the ide with the code, what makes me think that is a problem with some sychronism, but I don't know how to handle this.
Someone can help me?
` @test
public void mockTest(){
WebDriver driver;
BrowserMobProxyServer proxyServer;
Sometimes when I execute the code below the parameter "contents" from the function "addResponseFilter" comes null and I can't set the content to mock the request (seems that when I try to call "setTextContents" with a null contents object the excutuion get out of the loop of addResponseFilter.
Generaly it works at first run of the day or right after open the ide with the code, what makes me think that is a problem with some sychronism, but I don't know how to handle this.
Someone can help me?
` @test
public void mockTest(){
WebDriver driver;
BrowserMobProxyServer proxyServer;
The text was updated successfully, but these errors were encountered: