Callistus Schissel
unread,Jun 23, 2011, 3:38:53 PM6/23/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Calling IWebDriver driver = new FirefoxDriver();
from a Console Application DotNet works fine...
Calling FirefoxDriver from compile Class Library doesn't work. In the
C:\Users\callistus.schissel\AppData\Local\Temp\1 it
creates the webdriver.xpi directory and anoonymous@@@.webdriver-
profile but doesn't unzip any information into the a
weddriver.xpi directory.
I am using version selenium-dotnet-2.0rc3.
Ionic.Zip.BadReadException: Could not read block - no data! (position
0x00000000)
at Ionic.Zip.SharedUtilities._ReadFourBytes(Stream s, String
message)
at Ionic.Zip.SharedUtilities.ReadInt(Stream s)
at Ionic.Zip.ZipFile.VerifyBeginningOfZipFile(Stream s)
at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
at Ionic.Zip.ZipFile.Read(Stream zipStream, TextWriter
statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
at Ionic.Zip.ZipFile.Read(Stream zipStream, TextWriter
statusMessageWriter, Encoding encoding)
at Ionic.Zip.ZipFile.Read(Stream zipStream)
at OpenQA.Selenium.Firefox.FirefoxExtension.Install(String
profileDir)
at OpenQA.Selenium.Firefox.FirefoxProfile.InstallExtensions()
at OpenQA.Selenium.Firefox.FirefoxProfile.WriteToDisk()
at OpenQA.Selenium.Firefox.Internal.ExtensionConnection.Start()
at OpenQA.Selenium.Firefox.FirefoxDriver.StartClient()
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor
commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary
binary, FirefoxProfile profile, TimeSpan commandTimeout)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary
binary, FirefoxProfile profile)
at OpenQA.Selenium.Firefox.FirefoxDriver..ctor()