FirefoxWebdriver No data is available for encoding 437

后端 未结 1 1287
滥情空心
滥情空心 2020-12-18 00:38

I want to create a FirefoxWebdriver but get the following error

  Message: 
    Initialization method Sma.Ldx.Systemtest.Ui.Tests.IbaTest.TestInitialize
 thr         


        
相关标签:
1条回答
  • 2020-12-18 01:07

    Add NuGet Package System.Text.Encoding.CodePages

    Before Creating the FirefoxDriver object, do this:

     CodePagesEncodingProvider.Instance.GetEncoding(437);
     Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
    
    0 讨论(0)
提交回复
热议问题