Saturday 13 April 2019

How to refresh or reload a page in selenium webdriver

Sometimes we need to refresh the web page to ensure that all the elements are loaded. In some of the cases we see that for the first attempt all elements are not loaded but if we load the page for the second time we see that all the components are loaded. Some of the cases we need to load pages more than one times. In that case we use some conditional loops until the components are loaded.

We can refresh the page in many ways. Here we will discuss some of the ways.

Using refresh() method:
Selenium webdriver has a method called refresh(). This is widely used command. It refreshes the current page after executing. 

In Java,
driver.navigate().refresh();

Using sendkeys() method:
sendkeys() method is used like we do page refresh pressing F5 key through our keyboard. This manual task is executed by code using the sendkeys() command over an element.

The command will be like
driver.findElement(By.id(locator)).sendKeys(F5 key);

In Java,
driver.findElement(By.id("gbqfq")).sendKeys(Keys.F5);

Using navigate().to() method:
Actually browsing the same URL using navigate().to() function. We call getCurrentUrl() function to get the current URL of the page.
In Java,
driver.navigate().to(driver.getCurrentUrl());  
Using get() method:
If we know the URL then we can load the same URL again to reload the page. In Java,
driver.get("https://www.google.com.bd/");
We can also use getCurrentUrl() function to know the current URL of the page. The command would be, 
driver.get(driver.getCurrentUrl());

Using sendkeys() method with ASCII code:
We can use ASCII code as argument on sendkeys() method that is equivalent to F5 key command of the keyboard.
driver.findElement(By.id("gbqfq")).sendKeys("\uE035");
Here \uE035 is the ASCII code of F5 key.
Using executeScript() method:
Using this command we can execute any JavaScript for our need. If we execute location.reload() JavaScript function then current page will be reloaded which meets our purpose. 

The command is,
driver.executeScript("location.reload()"); 
There are many other ways but these are the generally used ways. I think this will help us. 
Happy Selenium Webdrivering!!!

Sunday 24 February 2019

visual studio key

Visual Studio Professional 2015 Key : HMGNV-WCYXV-X7G9W-YCX63-B98R2 Visual Studio Enterprise 2015 Key :HM6NR-QXX7C-DFW2Y-8B82K-WTYJV Visual Studio Enterprise 2015 Key :2XNFG-KFHR8-QV3CP-3W6HT-683CH

Wednesday 20 February 2019

Fix error "We could not validate your license xxxxxx" when active phpstorm,webstorm...

Fix Error "We could not validate your license xxxxxx"
Windows: open file host "C:\Windows\System32\drivers\etc\hosts":
Add  : 0.0.0.0         account.jetbrains.com

Linux/Mac: open/etc/hosts
Add : 0.0.0.0         account.jetbrains.com
After restart and enter code !

About this is link code if you don't have code. 

Thank! 

Thursday 24 January 2019

Download and crack photoshop 2018

link download 32 bit  here
link download 64 bit here
link download file crack here

extra file download and open

then 
  and then
end then 


 CRACK
extra file crack and open








SUCCESS ! 

Wednesday 23 January 2019

License active office 2019 forever


GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016 Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK).
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure.
Important
These license keys can't be used to activate your personal copy of Office.
For information about product keys for a personal copy of Office, see Using product keys with Office.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$ GVLKs for Office 2019 $$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
=============================================
Office Professional Plus 2019
NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP
=============================================
Office Standard 2019
6NWWJ-YQWMR-QKGCB-6TMB3-9D9HK
=============================================
Project Professional 2019
B4NPR-3FKK7-T2MBV-FRQ4W-PKD2B
=============================================
Project Standard 2019
C4F7P-NCP8C-6CQPT-MQHV9-JXD2M
=============================================
Visio Professional 2019
9BGNQ-K37YR-RQHF2-38RQ3-7VCBB
=============================================
Visio Standard 2019
7TQNQ-K3YQQ-3PFH7-CCPPM-X4VQ2
=============================================
Access 2019
9N9PT-27V4Y-VJ2PD-YXFMF-YTFQT
=============================================
Excel 2019
TMJWT-YYNMB-3BKTF-644FC-RVXBD
=============================================
Outlook 2019
7HD7K-N4PVK-BHBCQ-YWQRW-XW4VK
=============================================
PowerPoint 2019
RRNCX-C64HY-W2MM7-MCH9G-TJHMQ
=============================================
Publisher 2019
G2KWX-3NW6P-PY93R-JXK2T-C9Y9V
=============================================
Skype for Business 2019
NCJ33-JHBBY-HTK98-MYCV8-HMKHJ
=============================================
Word 2019
PBX3G-NWMT6-Q7XBW-PYJGG-WXD33
=============================================
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$ GVLKs for Office 2016 $$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
=============================================
Office Professional Plus 2016
XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
=============================================
Office Standard 2016
JNRGM-WHDWX-FJJG3-K47QV-DRTFM
=============================================
Project Professional 2016
YG9NW-3K39V-2T3HJ-93F3Q-G83KT
=============================================
Project Standard 2016
GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
=============================================
Visio Professional 2016
PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
=============================================
Visio Standard 2016
7WHWN-4T7MP-G96JF-G33KR-W8GF4
=============================================
Access 2016
GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW
=============================================
Excel 2016
9C2PK-NWTVB-JMPW8-BFT28-7FTBF
=============================================
OneNote 2016
DR92N-9HTF2-97XKM-XW2WJ-XW3J6
=============================================
Outlook 2016
R69KK-NTPKF-7M3Q4-QYBHW-6MT9B
=============================================
PowerPoint 2016
J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6
=============================================
Publisher 2016
F47MM-N3XJP-TQXJ9-BP99D-8K837
=============================================
Skype for Business 2016
869NQ-FJ69K-466HW-QYCP2-DDBV6
=============================================
Word 2016
WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6
=============================================