Пример #1
0
        public UI.Browser start(UI.Point position, UI.Size size)
        {
            _client = new UI.Browser(() => {
                var body = Request("belly:get-window-title");
                if (body != null)
                {
                    return(body.title);
                }
                return("");
            });
            var url = _server.Url;
            var ws  = _channel.Url;

            _client.Launch(url, ws, position, size);
            return(_client);
        }
Пример #2
0
 public UI.Browser Start(int serverPort, int channelPort, UI.Point position, UI.Size size)
 {
     StartHeadless(serverPort, channelPort);
     return(start(position, size));
 }
Пример #3
0
 public UI.Browser Start(int serverPort, int channelPort, UI.Point position)
 {
     return(Start(serverPort, channelPort, position, null));
 }
Пример #4
0
 public UI.Browser Start(UI.Point position, UI.Size size)
 {
     StartHeadless();
     return(start(position, size));
 }
Пример #5
0
 public UI.Browser Start(UI.Point position)
 {
     return(Start(position, null));
 }