What do you want to save?
Add Code snippet
New code examples
-
C 2021-10-27 10:31:12
how compress string in c
#include <bits/stdc++.h> using namespace std; class Solution { public: string solve(string s) { string ret = ""; for(int i = 0; i < s.size(); i++){ ... Add solution -
Javascript 2021-10-21 09:38:04
how to manually trigger browser back button from angular
import { Injectable } from '@angular/core' import { Location } from '@angular/common' import { Router, NavigationEnd } from '@angular/router' @Injectable({ providedIn: 'root' }) export class NavigationService { private history: string[] = [] constru... Add solution -
-
PHP 2021-10-06 20:40:04
php insert and display data
<?php //including the database connection file include("config.php"); if(isset($_POST['Submit'])) { $pname = $_POST['pname']; $pcode = $_POST['pcode']; $pprice = $_POST['pprice']; // checking empty fields if(empty($pname) || empt... Add solution -
Other 2021-10-06 13:12:04
back and forth in selenium
We use navigate method (navigate is an abstract method of Webdriver interface) to navigate back and forth in a browser. It has methods to move back, forward as well as to refresh a page. forward, to.. are abstract method of Navigate interface driver.na... Add solution -
Python 2021-10-03 11:17:02
read excel selenium
# How to read & write to Excel file import XL_utility # Importing from the second file from selenium import webdriver import unittest import time class Test_Excel(unittest.TestCase): def setUp(self): self.driver = webdriver.Chrome(&qu... Add solution