Skip to content

Commit 8ddd4a0

Browse files
committed
Updating the README.md to match the current subscribe model.
1 parent 5ba6758 commit 8ddd4a0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
C# Library to interact with the Chrome Developer Tools.
55

66
```c#
7-
chromeSession.Subscribe<Protocol.Page.DomContentEventFiredEvent>((o, e) =>
7+
chromeSession.Subscribe<Protocol.Page.DomContentEventFiredEvent>(domContentEvent =>
88
{
9-
var domContentEvent = (Event<DomContentEventFiredEvent>)e;
10-
Console.WriteLine("DomContentEvent: " + domContentEvent.Params.Timestamp);
9+
Console.WriteLine("DomContentEvent: " + domContentEvent.Timestamp);
1110
});
1211

1312
chromeSession.SendAsync(new NavigateCommand

0 commit comments

Comments
 (0)