Skip to content

Can not initialize Seleno - System.TypeInitializationException #264

@josenbobby

Description

@josenbobby

This is same issue thats mentioned in #231.
I am new to Seleno so I might have misunderstood something,

I am trying to get Seleno to work. Following the course Automated ASP.NET MVC Testing: End to End on Pluralsight by Jason Roberts.

But for some reason I cant get Seleno to work.
I created a solution with the ASP.Net MVC (.net 4.5.2). Works like it should.

I tried to make a little test but I always get the following error on initialising the BrowserHost.

System.TypeInitializationException : The type initializer for 'Tests.BrowserHost' threw an exception.
----> System.NullReferenceException : Object reference not set to an instance of an object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions