BVB Source Codes

capybara-webkit Show CurrentUrl.cpp Source code

Return Download capybara-webkit: download CurrentUrl.cpp Source code - Download capybara-webkit Source code - Type:.cpp
  1. #include "CurrentUrl.h"
  2. #include "WebPage.h"
  3. #include "WebPageManager.h"
  4.  
  5. CurrentUrl::CurrentUrl(WebPageManager *manager, QStringList &arguments, QObject *parent) : SocketCommand(manager, arguments, parent) {
  6. }
  7.  
  8. void CurrentUrl::start() {
  9.   QStringList arguments;
  10.   QVariant result = page()->currentFrame()->evaluateJavaScript("window.location.toString()");
  11.   QString url = result.toString();
  12.   finish(true, url);
  13. }
  14.  
  15.  
downloadCurrentUrl.cpp Source code - Download capybara-webkit Source code
Related Source Codes/Software:
dat.gui - dat.gui is a lightweight controller library for Ja... 2017-04-16
tmate - Instant Terminal Sharing ht... 2017-04-16
WNXHuntForCity - City find By Objective - C 2017-04-16
st2 - StackStorm (aka IFTTT for Ops) is event-driven aut... 2017-04-16
css-in-js - React: CSS in JS techniques comparison. 2017-04-16
fullstackpython.com - Full Stack Python source with Pelican, Bootstrap a... 2017-04-16
naxsi - NAXSI is an open-source, high performance, low rul... 2017-04-16
ToGL - Direct3D to OpenGL abstraction layer 2017-04-16
LiveScript - LiveScript is a language which compiles to JavaScr... 2017-04-16
clair - Vulnerability Static Analysis for Container 2017-04-17
pipfile - 2017-04-23
MaterialSearchView - Express it in the library to implement SearchView ... 2017-04-23
ptpython - A better Python REPL 2017-04-23
Laravel-4-Bootstrap-Starter-Site - Laravel 4 Starter Site is a basic blog application... 2017-04-23
official-images - Primary source of truth for the Docker "Official I... 2017-04-23
awesome-chrome-devtools - Awesome tooling and resources in the Chrome DevToo... 2017-04-23
EventStore - The open-source, functional database with Complex ... 2017-04-23
screencat - 2017-04-23
viz.js - A hack to put Graphviz on the web. ... 2017-04-23
JKeyboardPanelSwitch - For resolve the layout conflict when keybord & amp... 2017-04-23

 Back to top