Here is information in respect of general elections from 1832 to 1918 inclusive which I have taken from the book British Electoral Facts 1832-1987, compiled and edited by F.W.S. Craig.
Scotland: The Whigs/Liberals won a majority of Scottish seats in all general elections from 1832 to 1895 inclusive. The Tories/Conservatives won a bare majority - 36 to 34 - in the general election of 1900. The Liberals had a majority in general elections from 1906 to December 1910 inclusive. In the general election of 1918 the Conservatives won 30 seats, the Coalition Liberals 25 seats, and the Independent Liberals 8 seats.
Ireland: 1832 - Tory 28 seats, Whig 33 seats, Repeal candidates 42 seats
1835 and 1837 the Whigs won a majority of the seats
1841 - Conservative 41 seats, Whig 42 seats, Repeal 20 seats
1847 - Conservative [including Peelites] 40 seats, Whig 25 seats, Repeal 36 seats, others 2 seats
1852 the Whigs won an overall majority of seats
1857 - Conservative [including Peelites] 42 seats, Whigs - 48 seats, Others - 13 seats
1859 - Conservative majority of seats
1865 and 1868 - Liberal majority of seats
1874 to 1918 inclusive - Home Rule/Irish Nationalist/Sinn Fein candidates won a majority of seats. In all these elections more Conservatives than Liberals were elected.